mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-09 07:35:49 +00:00
6988176: There is focus painted inside the button
Reviewed-by: alexp
This commit is contained in:
parent
069ec3aa00
commit
dd26efb159
@ -120,6 +120,7 @@ public class WindowsPlacesBar extends JToolBar
|
||||
buttons[i].setForeground(fgColor);
|
||||
}
|
||||
buttons[i].setMargin(new Insets(3, 2, 1, 2));
|
||||
buttons[i].setFocusPainted(false);
|
||||
buttons[i].setIconTextGap(0);
|
||||
buttons[i].setHorizontalTextPosition(JToggleButton.CENTER);
|
||||
buttons[i].setVerticalTextPosition(JToggleButton.BOTTOM);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user