Karl Tauber
7bf1b26812
Tree: support rounded selection
2022-06-02 12:03:20 +02:00
Karl Tauber
92b53bf0df
Merge PR #522 : File chooser shortcuts panel
2022-05-28 17:46:12 +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
f1792e46c6
Menus:
...
- support different selection colors for top-level JMenus
- fixed styling of underline selection properties for top-level JMenus
2022-05-15 16:39:11 +02:00
Karl Tauber
84e9c36280
Menus: support rounded selection
2022-05-15 14:24:38 +02:00
Karl Tauber
2ef6a2c3c9
ToolBar: add hover effect to button groups
2022-05-14 13:59:47 +02:00
Karl Tauber
5f961618bf
Demo and Theme Editor: updated macOS related comments
2022-05-13 13:54:10 +02:00
Karl Tauber
37c375e2fa
Theme Editor:
...
- support "themes" sub-directory
- added "generate Java class" checkbox to "New" dialog
2022-05-10 11:01:45 +02:00
Karl Tauber
1758c175ed
FlatLafUIKeys.txt: added some missing UI defaults
2022-05-09 23:30:34 +02:00
Karl Tauber
96f2a02cfa
UIDefaultsLoader: added over() color function to convert a translucent color into a solid color based on any background color
2022-05-09 23:28:40 +02:00
Karl Tauber
14932d3f07
Theme Editor: on macOS use apple.awt.fullWindowContent and apple.awt.transparentTitleBar
2022-05-05 13:20:23 +02:00
Karl Tauber
045263ae58
FileChooser: added (optional) shortcuts panel (issue #100 )
2022-04-25 23:06:10 +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
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
b8b45f9442
Theme Editor: added to main readme
2022-01-11 16:17:17 +01:00
Karl Tauber
61dd4d71d6
Theme Editor: added text field leading/trailing buttons/toolbar to preview
2022-01-05 19:43:06 +01:00
Karl Tauber
a8d98ced61
Theme Editor:
...
- support multi-line styles in overlay color preview
- minor preview improvements
2022-01-03 21:51:02 +01:00
Karl Tauber
b6a504e121
Theme Editor: fixed "Pick Color from Screen" on macOS
...
On macOS Big Sur (and later), to pick colors outside of theme editor window it is necessary to give "Screen Recording" permission to the application (or to the IDE started from).
For the arrow keys, "Accessibility" permission is necessary.
See "System Preferences > Security & Privacy > Privacy".
2021-12-27 21:49:49 +01:00
Karl Tauber
1c10c41808
Theme Editor: Preview: added style classes to all preview components (syntax flatlaf-preview-<componenttype>) to allow experimenting with styles in editor
2021-12-26 21:23:42 +01:00
Karl Tauber
01170b669b
Theme Editor: Preview:
...
- reworked disabling to avoid disabling internal components
- do not disable labels
- removed special code for JTextPane and JEditorPane, which seems to be no longer needed
2021-12-26 20:30:36 +01:00
Karl Tauber
45332c8126
TextField: added "clear" button to theme editor find/replace and to UI defaults inspector
2021-12-14 10:42:07 +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
a3885d7a48
Theme Editor: Preview: minor tweeks
2021-12-11 14:13: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
09d8d09aad
Theme Editor: Preview: support usage of variables in styles
2021-12-10 23:14:19 +01:00
Karl Tauber
70336e31c7
Theme Editor: update RSyntaxTextArea from 3.1.3 to 3.1.4
2021-12-10 22:44:24 +01:00
Karl Tauber
600e0f3d67
Panel: support painting background with rounded corners (issue #367 )
...
FlatLineBorder: support rounded corners
2021-12-10 22:40:17 +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
8914cf78a1
Typography: Theme Editor: added h1.regular, h2.regular and h3.regular to preview
2021-11-19 11:37:46 +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
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
52f6e7fc32
Theme Editor: Switches" preview:
...
- zoom 2x, 3x and 4x icons via toolbar
- hide indeterminate state for checkboxes via toolbar
2021-11-04 00:17:24 +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
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
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
5f6013edd4
Theme Editor: Switches" preview:
...
- show indeterminate state for checkboxes
- removed "text" from checkboxes and radio buttons
2021-10-31 11:17:37 +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