-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
b07
-
generic
-
solaris_9
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2144184 | 6u1 | Christopher Campbell | P3 | Resolved | Fixed | b01 |
Bug 6477839 identifies some issues with JToolBar under GTK L&F and the Nimbus theme,
but there are other more general issues that affect all themes:
1) Native GTK toolbar buttons are square by default and have a certain amount
internal padding; currently, Swing's JButtons retain their rectangular shape
when added to a JToolBar, and their padding is inconsistent with native.
2) The SynthToolBarLayoutManager that is used by GTK L&F does not properly account
for insets, which means that toolbar buttons currently render on top of the
toolbar border, which looks really ugly.
3) JToggleButtons that are added to a JToolBar have their border/content painted
when in the non-selected state. This is different from regular JButtons and
native GTK toggle buttons.
4) The JToolBar itself does not seem to be painted properly; specifically, there
is an extra border around the toolbar portion that is not present in native
GtkToolbars/GtkHandleboxes.
One more issue to add to the list:
5) Native GtkButtons do not paint their border when in a disabled state in
in a toolbar setting; disabled JButtons added to a JToolBar do paint their
border.
but there are other more general issues that affect all themes:
1) Native GTK toolbar buttons are square by default and have a certain amount
internal padding; currently, Swing's JButtons retain their rectangular shape
when added to a JToolBar, and their padding is inconsistent with native.
2) The SynthToolBarLayoutManager that is used by GTK L&F does not properly account
for insets, which means that toolbar buttons currently render on top of the
toolbar border, which looks really ugly.
3) JToggleButtons that are added to a JToolBar have their border/content painted
when in the non-selected state. This is different from regular JButtons and
native GTK toggle buttons.
4) The JToolBar itself does not seem to be painted properly; specifically, there
is an extra border around the toolbar portion that is not present in native
GtkToolbars/GtkHandleboxes.
One more issue to add to the list:
5) Native GtkButtons do not paint their border when in a disabled state in
in a toolbar setting; disabled JButtons added to a JToolBar do paint their
border.
- backported by
-
JDK-2144184 GTK L&F: more toolbar issues
-
- Resolved
-
- relates to
-
JDK-6495117 GTK L&F: non-default JButtons sized differently than native
-
- Open
-
-
JDK-6477839 GTK L&F: JToolBar handle rendered incorrectly under Nimbus theme
-
- Closed
-
-
JDK-6489585 GTK L&F: buttons, checkboxes, and radiobuttons are sized incorrectly
-
- Closed
-