Spinner: support Spinner.focusedBackground

ComboBox:
- prefer explicit set background color over focusedBackground
- if ComboBox.buttonFocusedBackground is not specified use ComboBox.focusedBackground
- added ComboBox.popupFocusedBackground

(issue #335)
This commit is contained in:
Karl Tauber
2021-06-15 11:50:30 +02:00
parent 7e0915cb9c
commit ed9cb0f918
4 changed files with 76 additions and 20 deletions

View File

@@ -1,6 +1,19 @@
FlatLaf Change Log
==================
## 1.3-SNAPSHOT
#### New features and improvements
- TextComponents, ComboBox and Spinner: Support different background color when
component is focused (use UI values `TextField.focusedBackground`,
`PasswordField.focusedBackground`, `FormattedTextField.focusedBackground`,
`TextArea.focusedBackground`, `TextPane.focusedBackground`,
`EditorPane.focusedBackground`, `ComboBox.focusedBackground`,
`ComboBox.buttonFocusedBackground`, `ComboBox.popupFocusedBackground` and
`Spinner.focusedBackground`). (issue #335)
## 1.2
#### New features and improvements