Karl Tauber
94f9e4a1be
fixed missing UI value MenuItem.acceleratorDelimiter on macOS (was null, is now an empty string)
2022-08-03 13:16:43 +02:00
Karl Tauber
10a965d765
Window decorations: option to show window icon beside window title, if menu bar is embedded or title is centered
2022-07-13 17:58:25 +02:00
Karl Tauber
ef151c68f4
Window decorations:
...
- improved title bar usability by using larger gaps and minimum sizes
- added minimum gap between embedded menu bar and window title
- fixed oscillating title while resizing window width
- fixed lost right-to-left component orientation in title bar when switching Laf
2022-07-11 17:28:30 +02:00
Karl Tauber
42764550e6
Window decorations: improved window title bar layout for small window widths:
...
- width of iconify/maximize/close buttons is reduced to give more space to embedded menu bar and title
- window title now has a minimum width to always allow moving window
2022-07-09 19:54:29 +02:00
Karl Tauber
6ee737b314
Window decorations: small area at top of embedded menu bar to resize window
2022-07-09 10:30:33 +02:00
Karl Tauber
f460ef7685
UI defaults dumps updated for commits b82ee2ef61 and 93e0496fd2
2022-07-09 10:19:54 +02:00
Karl Tauber
93e0496fd2
ToggleButton: button style "tab": added missing foreground colors for hover, focused and selected states (issue #535 )
2022-05-28 15:09:04 +02:00
Karl Tauber
5151951f46
Button and ToggleButton: added missing foreground colors for hover, pressed, focused and selected states (issue #535 )
2022-05-28 14:54:31 +02:00
Karl Tauber
af3e280d74
Table: slightly changed grid colors to make grid better recognizable (issue #514 )
2022-04-19 23:00:01 +02:00
Karl Tauber
b57e4c0565
TabbedPane: selected tab underline color now changes depending on whether the focus is within the tab content (issue #398 )
2022-04-19 22:19:47 +02:00
Karl Tauber
68a7a60ff2
FileChooser: enabled full row selection for details view to fix alternate row coloring (issue #512 )
2022-04-12 13:28:39 +02:00
Karl Tauber
fef6ae7ff7
Menus: scroll large menus using mouse wheel or up/down arrows (issue #225 )
2022-03-14 11:41:05 +01:00
Karl Tauber
c478d28b71
PasswordField: fixed reveal button appearance in IntelliJ themes (issue #494 )
2022-03-13 18:39:12 +01:00
Karl Tauber
99f7b9ad84
ScrollBar:
...
- added `ScrollBar.minimumButtonSize` to specify minimum scroll arrow button size
- center and scale arrows in scroll up/down buttons
(issue #493 )
2022-03-13 10:58:27 +01:00
Karl Tauber
e768791eba
Native window decorations: updated hover and pressed colors of iconify/maximize/close buttons for Windows 11 style
2022-01-09 12:59:08 +01:00
Karl Tauber
2aff7c97f9
Demo: changed theme names from "Flat *" to "FlatLaf *"
2022-01-08 22:56:20 +01:00
Karl Tauber
dd7fa4a87d
Slider: fixed/improved focused indicator color when changing accent color (PR #375 )
2021-12-31 15:33:27 +01:00
Karl Tauber
bb32c727b6
TextField:
...
- improved hover/pressed/selected colors of leading/trailing buttons
(e.g. "reveal" button in password field) (issue #452 )
- clear button no longer paints over round border (issue #451 )
2021-12-28 20:24:43 +01:00
Karl Tauber
02a9d4e31d
PasswordField: support "reveal" button to show password (issue #173 )
2021-12-14 01:09:21 +01:00
Karl Tauber
a4377e81cb
TextField: support "clear" (or "cancel") button to empty text field
2021-12-13 22:10:21 +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
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
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
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
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
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
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
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
e60e3b9fae
Typography: added monospaced font/style
2021-10-13 13:46:43 +02:00
Karl Tauber
465af9bc41
Typography: added fonts/styles for headings and various text sizes
2021-10-13 10:53:37 +02:00
Karl Tauber
69042e42b7
ToolBar: support arrow-keys-only navigation within focusable buttons of toolbar:
...
- arrow keys move focus within toolbar (provided by `BasicToolBarUI`)
- tab-key moves focus out of toolbar
- if moving focus into the toolbar, focus recently focused toolbar button
(issue #346 )
2021-10-05 16:36:50 +02:00
Karl Tauber
e34fbcec58
ToolBar: foolbars are no longer floatable by default
2021-10-04 15:31:55 +02:00