mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-13 07:17:13 -06:00
TextComponents:
- use focusedBackground only if editable (and enabled) - prefer explicit set background color over focusedBackground - added FlatTextFieldUI.getBackground() used by all text components - support EditorPane.focusedBackground - support TextPane.focusedBackground (issue #335)
This commit is contained in:
@@ -152,6 +152,16 @@ Desktop.background = #afe
|
||||
DesktopIcon.background = darken($Desktop.background,20%)
|
||||
|
||||
|
||||
#---- EditorPane ----
|
||||
|
||||
EditorPane.focusedBackground = #ff8
|
||||
|
||||
|
||||
#---- FormattedTextField ----
|
||||
|
||||
FormattedTextField.focusedBackground = #ff8
|
||||
|
||||
|
||||
#---- HelpButton ----
|
||||
|
||||
HelpButton.focusedBackground = #0ff
|
||||
@@ -223,6 +233,11 @@ OptionPane.icon.warningColor = #fc0
|
||||
OptionPane.icon.foreground = #fff
|
||||
|
||||
|
||||
#---- PasswordField ----
|
||||
|
||||
PasswordField.focusedBackground = #ff8
|
||||
|
||||
|
||||
#---- Popup ----
|
||||
|
||||
Popup.dropShadowColor = #0f0
|
||||
@@ -332,6 +347,21 @@ TableHeader.separatorColor = #0f0
|
||||
TableHeader.bottomSeparatorColor = #0f0
|
||||
|
||||
|
||||
#---- TextArea ----
|
||||
|
||||
TextArea.focusedBackground = #ff8
|
||||
|
||||
|
||||
#---- TextField ----
|
||||
|
||||
TextField.focusedBackground = #ff8
|
||||
|
||||
|
||||
#---- TextPane ----
|
||||
|
||||
TextPane.focusedBackground = #ff8
|
||||
|
||||
|
||||
#---- TitledBorder ----
|
||||
|
||||
TitledBorder.titleColor = #f0f
|
||||
|
||||
Reference in New Issue
Block a user