mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-12 06:57:13 -06:00
CheckBox and RadioButton: made focused icon better recognizable in **FlatLaf Light** and **Dark** themes by painting a 1px focus border; **Darcula** and **IntelliJ** themes are not changed
This commit is contained in:
@@ -46,6 +46,7 @@ Button.default.boldText = true
|
||||
|
||||
#---- CheckBox ----
|
||||
|
||||
CheckBox.icon.focusWidth = null
|
||||
CheckBox.icon.focusedBackground = null
|
||||
|
||||
|
||||
|
||||
@@ -128,6 +128,8 @@ Button.toolbar.selectedBackground = lighten($Button.background,7%,derived)
|
||||
|
||||
#---- CheckBox ----
|
||||
|
||||
CheckBox.icon.focusWidth = 1
|
||||
|
||||
# enabled
|
||||
CheckBox.icon.borderColor = tint($Component.borderColor,5%)
|
||||
CheckBox.icon.background = tint(@background,5%)
|
||||
|
||||
@@ -54,6 +54,7 @@ Button.default.borderWidth = 1
|
||||
#---- CheckBox ----
|
||||
|
||||
CheckBox.icon.style = filled
|
||||
CheckBox.icon.focusWidth = null
|
||||
CheckBox.icon.focusedBackground = null
|
||||
|
||||
|
||||
|
||||
@@ -131,6 +131,8 @@ Button.toolbar.selectedBackground = $Button.selectedBackground
|
||||
|
||||
#---- CheckBox ----
|
||||
|
||||
CheckBox.icon.focusWidth = 1
|
||||
|
||||
# enabled
|
||||
CheckBox.icon.borderColor = shade($Component.borderColor,10%)
|
||||
CheckBox.icon.background = @buttonBackground
|
||||
|
||||
Reference in New Issue
Block a user