-
Bug
-
Resolution: Fixed
-
P5
-
5.0
-
beta
-
generic
-
generic
I tested out the look of JToggleButtons after the fix to 4978274 and unfortunately they still don't look like the designers had requested.
What was requested was this:
a) Normal state: JToggleButton have the EXACT same border as JButton.
b) Mouse-pressed/over state: JToggleButton have the EXACT same border that JButton uses for press/over.
c) Selected state: JToggleButton have the EXACT same border as JButton.
Unfortunately, the fix does something else for a) and c). I've attached an enlarged screen shot (toggle.bmp) of what JToggleButtons currently look like. Notice how the borders for Normal and Selected are not what they should be.
Also, the border is incorrect in the disabled state too (for both selected and unselected). It is likely that fixing the enabled state will fix the disabled state too, but this should be verified.
What was requested was this:
a) Normal state: JToggleButton have the EXACT same border as JButton.
b) Mouse-pressed/over state: JToggleButton have the EXACT same border that JButton uses for press/over.
c) Selected state: JToggleButton have the EXACT same border as JButton.
Unfortunately, the fix does something else for a) and c). I've attached an enlarged screen shot (toggle.bmp) of what JToggleButtons currently look like. Notice how the borders for Normal and Selected are not what they should be.
Also, the border is incorrect in the disabled state too (for both selected and unselected). It is likely that fixing the enabled state will fix the disabled state too, but this should be verified.
- relates to
-
JDK-4978274 REGRESSION:ToggleButtons have a slightly different appearance from normal button
-
- Resolved
-