-
Bug
-
Resolution: Fixed
-
P3
-
1.2.0, 1.4.0
-
tiger
-
generic, x86
-
generic, windows_xp
Name: krT82822 Date: 01/14/99
When a component like a Combobox or a TextField is added to a
toolbar it no longer makes sense(IMHO) that it should be docked
in in a vertical orientation. Just take a look at the PC's
WordPad application, which prevents vertically docking of the
toolbar that contains the font combobox. In Visual C++ when a
toolbar containing a combobox is docked vertically, the combobox
component is actually removed temporarily from the toolbar. The
same appears to be true of the Microsoft Office family of apps.
I think it would make more sense for the case of toolbars containing
non-button components that the GUI prevent vertical docking instead
of temporarily removing components(but that's my opinion).
The point is that there are probably times when a toolbar should not be
allowed to be docked vertically. Because of this I feel the
JToolBar should provide us with an API to specify the valid
docking orientations(by default it would be ALL). Maybe something
like setDockingOrientation(JToolBar.HORIZONTAL).
(Review ID: 52582)
======================================================================
- duplicates
-
JDK-4664642 JToolBar should have the ability to allow them to only DOCK on certain sides
- Closed
- relates to
-
JDK-4239729 Floatable toolbar brokes BorderLayout
- Closed
-
JDK-4172932 BorderLayout provides no way to get the constraint for each child
- Resolved