Karl Tauber
a4377e81cb
TextField: support "clear" (or "cancel") button to empty text field
2021-12-13 22:10:21 +01:00
Karl Tauber
60e2ffac5f
Demo: added text field leading/trailing components example
2021-12-13 17:27:36 +01:00
Karl Tauber
1b3cc223da
TextField: added styles for buttons and toolbars in leading and trailing components (smaller margins/insets, better hover/pressed/selected colors)
2021-12-12 18:43:29 +01:00
Karl Tauber
f93d035e4e
TextField: support leading and trailing components
2021-12-11 14:29:56 +01:00
Karl Tauber
2164bd363b
Styling: MenuItem: support styling acceleratorFont
...
Theme Editor:
- support font keys in auto-completion
- ignore Menu.acceleratorFont, CheckBoxMenuItem.acceleratorFont and RadioButtonMenuItem.acceleratorFont because they are never used (keep UI values for backward compatibility)
2021-12-11 11:39:31 +01:00
Karl Tauber
023e356057
MenuItem: vertically align text if icons have different widths (issue #437 )
2021-12-08 11:45:17 +01:00
Karl Tauber
27786ec00a
UI defaults dumps updated for commits 269eb0ba29, c9a38f0a13 and dd3ffc64b9
2021-12-08 00:53:21 +01:00
Karl Tauber
e52e72c5a8
Merge PR #415 : MenuItem: paint the selected icon when the item is selected
2021-12-07 22:52:25 +01:00
Karl Tauber
802dd08ce7
MenuItem: use isArmedOrSelected() instead of MenuSelectionManager to detect selected item
2021-12-07 22:46:39 +01:00
Karl Tauber
c9a38f0a13
SwingX: new "column control" icon for JXTable that scales and uses antialiasing (issue #434 )
2021-12-07 17:45:25 +01:00
Karl Tauber
405e3df1f0
Merge remote-tracking branch 'origin/develop-1.x' into main
...
# Conflicts:
# CHANGELOG.md
2021-12-07 16:05:31 +01:00
Karl Tauber
e1bfabbce5
macOS: fixed NullPointerException when using AWT component java.awt.Choice (issue #439 )
2021-12-06 22:45:24 +01:00
Karl Tauber
7f4efaf0a3
ComboBox: fixed occasional StackOverflowError when modifying combo box not on AWT thread (issue #432 )
2021-12-06 17:15:37 +01:00
Karl Tauber
7c99872278
Typography:
...
- fixed semibold font on Ubuntu
- use font "Montserrat SemiBold" on Fedora
(PR #396 )
2021-11-24 10:37:48 +01:00
Karl Tauber
13a6b92e47
Merge PR #429 : Window title bar improvements (Windows 10/11 only)
2021-11-19 18:01:34 +01:00
Karl Tauber
9ba008002b
Merge PR #396 : Typography
2021-11-19 14:57:36 +01:00
Karl Tauber
d360375b4f
Typography:
...
- use semibold for `h1`, `h2` and `h3`
- added `h1.regular`, `h2.regular` and `h3.regular`
2021-11-19 11:13:32 +01:00
Karl Tauber
31754eba5d
Merge PR #343 : New tabbed pane active tab border painting style
2021-11-18 17:27:23 +01:00
Karl Tauber
3cfa16b8b7
TabbedPane: completed review of PR #343 (active tab border painting style)
...
- replaced `activeTabBorder` with `tabType`
- added `TabbedPane.cardTabSelectionHeight`
2021-11-18 16:47:21 +01:00
Karl Tauber
f80d2bacf4
Typography: use light and semibold in FlatTypographyTest
2021-11-17 19:39:51 +01:00
Karl Tauber
5df3717d94
Typography: added "Material Design 3" to FlatTypographyTest
2021-11-17 00:25:38 +01:00
Karl Tauber
68897f04a2
Typography: removed thin font/style because
...
- there is no thin font available on Windows
- previously used "Segoe UI Light" for `thin.font` and "Segoe UI Semilight" for `light.font`, but "Segoe UI Semilight" is too close to regular font so that it is better to use "Segoe UI Light" for `light.font` and drop `thin.font`
- the usefulness of having thin font in addition to light font is low
on macOS use "HelveticaNeue-Thin" for `light.font` (instead of "HelveticaNeue-Light")
2021-11-17 00:23:54 +01:00
Karl Tauber
4cb6aeae36
OptionPane: hide window icon by default; can be shown via UI default OptionPane.showIcon = true (issue #416 )
2021-11-16 21:20:01 +01:00
Karl Tauber
0a765a35bf
Merge remote-tracking branch 'origin/release-1.6.4' into main
...
# Conflicts:
# CHANGELOG.md
2021-11-16 15:52:15 +01:00
Karl Tauber
4da2bd90cb
ComboBox: fixed regression in FlatLaf 1.6.3 that makes selected item invisible in popup list if DefaultListCellRenderer is used as renderer (issue #426 )
2021-11-16 15:36:14 +01:00
Karl Tauber
d6b9e2df62
RootPane: give the root pane useful background, foreground and font
...
(fixes wrong background in title bar and menu bar when switching from Nimbus to FlatLaf)
2021-11-15 16:58:44 +01:00
Karl Tauber
80a8348a99
Window decorations:
...
- enabled `TitlePane.unifiedBackground` by default (because seems to be standard on Windows 11)
- no longer paint a bottom separator for the menu bar (if unified background is enabled)
2021-11-15 01:00:10 +01:00
Karl Tauber
005c9f471e
Window decorations:
...
- option to hide window icon (via client property or UI default)
- no longer show the Java "duke/cup" icon if no window icon image is set (issue #416 )
2021-11-15 01:00:10 +01:00
Karl Tauber
fc7a4408e9
FlatWindowDecorationsTest: update decoration style radio buttons from window
2021-11-15 00:35:19 +01:00
Karl Tauber
fcc39b2db5
Merge branch 'release-1.6.3' into main
...
# Conflicts:
# CHANGELOG.md
# flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatTreeUI.java
2021-11-14 23:23:29 +01:00
Karl Tauber
22cb1b50a6
ComboBox (not editable): fixed regression that may display text in non-editable combo boxes in bold (issue #423 )
...
fixes commits 02f3239669
and 0b6df8be1c
2021-11-14 22:11:19 +01:00
Karl Tauber
a42c413705
Testing: added modular app
2021-11-12 17:28:04 +01:00
Karl Tauber
78e37f7ab4
Typography: since there is no thin font available on Windows, use "Segoe UI Light" (which looks thin IMHO) for thin.font and "Segoe UI Semilight" for light.font
2021-11-04 12:16:11 +01:00
Karl Tauber
57405b2f56
CheckBox and RadioButton: derive CheckBox.icon.disabledCheckmarkColor from CheckBox.icon.checkmarkColor in light themes (as in dark themes)
2021-11-03 14:29:56 +01:00
Karl Tauber
88576f68fd
CheckBox and RadioButton: added RadioButton.icon.style (similar to CheckBox.icon.style) to support different styles for checkbox and radiobutton
...
(e.g. Material design uses filled checkboxes, but outlined radiobuttons)
2021-11-03 11:27:18 +01:00
Karl Tauber
aa4e013097
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
2021-11-03 11:15:17 +01:00
Karl Tauber
d67cfc911b
CheckBox and RadioButton:
...
- added `CheckBox.icon.selectedBorderWidth`
- added `CheckBox.icon.disabledSelectedBorderWidth`
- added `CheckBox.icon.disabledSelectedBorderColor`
- added `CheckBox.icon.disabledSelectedBackground`
- changed `CheckBox.icon.focusWidth` from `int` `float`
2021-11-03 10:59:39 +01:00
Karl Tauber
00a3ad738f
CheckBox and RadioButton: made selected icon better recognizable in **FlatLaf Light** (use blue border), **Dark** and **Darcula** (use lighter border) themes; **IntelliJ** theme is not changed
2021-10-31 18:26:31 +01:00
Karl Tauber
1d39d34d7c
CheckBox and RadioButton:
...
- added `CheckBox.icon.hoverCheckmarkColor`
- added `CheckBox.icon.selectedHoverBorderColor`
- added `CheckBox.icon.pressedBorderColor`
- added `CheckBox.icon.selectedPressedBorderColor`
- added `CheckBox.icon.pressedCheckmarkColor`
- renamed `CheckBox.icon.selectedFocusedBorderColor` to `CheckBox.icon.focusedSelectedBorderColor`
- renamed `CheckBox.icon.selectedFocusedBackground` to `CheckBox.icon.focusedSelectedBackground`
- renamed `CheckBox.icon.selectedFocusedCheckmarkColor` to `CheckBox.icon.focusedCheckmarkColor`
- renamed `CheckBox.icon.selectedHoverBackground` to `CheckBox.icon.hoverSelectedBackground`
- renamed `CheckBox.icon.selectedPressedBackground` to `CheckBox.icon.pressedSelectedBackground`
- renamed `CheckBox.icon[filled].selectedFocusedBorderColor` to `CheckBox.icon[filled].focusedSelectedBorderColor`
- renamed `CheckBox.icon[filled].selectedFocusedBackground` to `CheckBox.icon[filled].focusedSelectedBackground`
- renamed `CheckBox.icon[filled].selectedFocusedCheckmarkColor` to `CheckBox.icon[filled].focusedCheckmarkColor`
- renamed `CheckBox.icon[filled].selectedHoverBackground` to `CheckBox.icon[filled].hoverSelectedBackground`
- renamed `CheckBox.icon[filled].selectedPressedBackground` to `CheckBox.icon[filled].pressedSelectedBackground`
(Note: this are incompatible changes!)
2021-10-31 17:39:48 +01:00
Karl Tauber
dd80614465
ComboBox, Spinner, TextField and subclasses, CheckBox, RadioButton and Slider: support specifying width of borders
2021-10-30 14:02:49 +02:00
Karl Tauber
8152b7dad6
UIDefaultsLoader: further reduced need for value type prefixes in properties files and in CSS styles
2021-10-29 13:55:28 +02:00
Karl Tauber
fb4fe175d9
UIDefaultsLoader: reduced need for {float} in properties files and in CSS styles
2021-10-29 13:33:55 +02:00
Karl Tauber
5e03eb9b51
UIDefaultsDump: removed Java 8 patch version from dump file names
2021-10-28 21:01:16 +02:00
Karl Tauber
ef25575f85
ignore internal UI keys in dumps and in UI defaults inspector
2021-10-28 20:47:47 +02:00
Karl Tauber
f742f83834
Typography: added thin font/style
2021-10-26 13:16:52 +02:00
Karl Tauber
e6e4e53a73
Typography: added light and semibold font/style
2021-10-25 13:27:40 +02:00
Karl Tauber
7c594ba7a9
Typography: UIDefaultsDump: dumps updated on macOS Big Sur
2021-10-25 13:06:34 +02:00
Karl Tauber
0f9b38895e
FlatComponents2Test: allow enabling tree editing
2021-10-23 09:20:53 +02:00
Karl Tauber
8fa1eae352
TextComponents: triple-click-and-drag now extends selection by whole lines
...
triple-click-and-drag does not work in theme editor because drag is enabled, anyway a triple-click now selects the whole line before dragging starts
2021-10-22 13:14:01 +02:00
Karl Tauber
e36f942129
TextComponents: double-click-and-drag now extends selection by whole words
2021-10-21 13:24:07 +02:00