MenuBar: support different underline menu selection style UI defaults for MenuBar and MenuItem. (PR #217; issue #216)

This commit is contained in:
Karl Tauber
2020-12-05 11:56:38 +01:00
parent f149d2b7cd
commit 14df490b2a
6 changed files with 65 additions and 34 deletions

View File

@@ -518,6 +518,9 @@ MenuBar.highlight #ffffff javax.swing.plaf.ColorUIResource [UI]
MenuBar.hoverBackground #ffdddd javax.swing.plaf.ColorUIResource [UI]
MenuBar.itemMargins 3,8,3,8 javax.swing.plaf.InsetsUIResource [UI]
MenuBar.shadow #a0a0a0 javax.swing.plaf.ColorUIResource [UI]
MenuBar.underlineSelectionBackground #00ff00 javax.swing.plaf.ColorUIResource [UI]
MenuBar.underlineSelectionColor #ff0000 javax.swing.plaf.ColorUIResource [UI]
MenuBar.underlineSelectionHeight 5
MenuBar.windowBindings length=2 [Ljava.lang.Object;
[0] F10
[1] takeFocus

View File

@@ -192,6 +192,9 @@ Menu.icon.disabledArrowColor=#ABABAB
MenuBar.borderColor=#44f
MenuBar.hoverBackground=#fdd
MenuBar.underlineSelectionBackground=#0f0
MenuBar.underlineSelectionColor=#f00
MenuBar.underlineSelectionHeight=5
#---- MenuItemCheckBox ----