mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-12 15:07:11 -06:00
Button: support hover, pressed and focused backgrounds
This commit is contained in:
@@ -44,15 +44,22 @@
|
||||
#---- Button ----
|
||||
|
||||
Button.background=ffffff
|
||||
Button.focusedBackground=00ffff
|
||||
Button.hoverBackground=ffff00
|
||||
Button.pressedBackground=FFC800
|
||||
|
||||
Button.borderColor=0000ff
|
||||
Button.disabledBorderColor=000088
|
||||
Button.focusedBorderColor=466d94
|
||||
#Button.arc=10
|
||||
Button.hoverBorderColor=ff0000
|
||||
|
||||
Button.default.background=dddddd
|
||||
Button.default.foreground=880000
|
||||
Button.default.focusedBackground=00ffff
|
||||
Button.default.hoverBackground=ffff00
|
||||
Button.default.pressedBackground=FFC800
|
||||
Button.default.borderColor=ff0000
|
||||
Button.default.hoverBorderColor=ff0000
|
||||
Button.default.focusedBorderColor=537699
|
||||
Button.default.focusColor=ff0000
|
||||
|
||||
@@ -232,6 +239,10 @@ ToggleButton.selectedBackground=44ff44
|
||||
ToggleButton.selectedForeground=000000
|
||||
ToggleButton.disabledSelectedBackground=44dd44
|
||||
|
||||
ToggleButton.focusedBackground=00ffff
|
||||
ToggleButton.hoverBackground=ffff00
|
||||
ToggleButton.pressedBackground=FFC800
|
||||
|
||||
|
||||
#---- ToolTip ----
|
||||
|
||||
|
||||
Reference in New Issue
Block a user