Karl Tauber
d8e59f2cf3
TextComponents: selectAllOnFocusPolicy related changes:
...
- No longer select all text if selection (or caret position) was changed by
application and `selectAllOnFocusPolicy` is `once` (the default). (issue #983 )
- FormattedTextField and Spinner: `selectAllOnFocusPolicy = once` behaves now
as `always` (was `never` before), which means that all text is selected when
component gains focus. This is because of special behavior of
`JFormattedTextField` that did not allow implementation of `once`.
- Client property `JTextField.selectAllOnFocusPolicy` now also works on
(editable) `JComboBox` and on `JSpinner`.
- Added client property `JTextField.selectAllOnMouseClick` to override UI
property `TextComponent.selectAllOnMouseClick`. (issue #961 )
- For `selectAllOnMouseClick = true`, clicking with the mouse into the text
field, to focus it, now always selects all text, even if
`selectAllOnFocusPolicy` is `once`.
2025-03-16 11:24:01 +01:00
Karl Tauber
666b99971d
Merge PR #971 : Linux: rounded iconify/maximize/close buttons if using FlatLaf window decorations
2025-03-09 16:41:51 +01:00
Karl Tauber
0bc2513c46
for PR #982 :
...
- updated CHANGELOG.md
- updated styling unit tests
- updated UI defaults dumps
- Demo: error/warning/success hints in a single row
- Demo: reduced height of "Data comp" tab to make Demo window smaller
- IntelliJ themes: fixed missing/overwritten success colors
2025-03-09 00:15:00 +01:00
Karl Tauber
bc3504378b
Merge PR #982 : Add "success" outline for borders (issue #945 )
2025-03-08 23:45:20 +01:00
Karl Tauber
681c0cd4fe
HTML: fixed rendering of <hr noshade> in dark themes (issue #932 )
2025-03-08 19:47:37 +01:00
Karl Tauber
f7495a0a5b
- support key prefixes for Linux desktop environments (issue #974 )
...
- support custom key prefixes (issue #649 )
- support multi-prefixed keys
- changed handling of prefixed keys
2025-03-08 18:11:38 +01:00
Valery Semenchuk
dd44d3ed2d
Merge branch 'JFormDesigner:main' into issue945
2025-03-08 14:58:22 +04:00
Valery Semenchuk
86a4d0ab12
add "success" border color
...
fix #945
2025-03-08 14:57:06 +04:00
Karl Tauber
d612b9f4b8
Linux: use X11 window manager events to resize window, if FlatLaf window decorations are enabled (issue #866 )
...
also made drag border slightly wider (from 5 to 6 pixels) and changed drag corner width from 16 to 32 to match native windows
2025-03-06 17:47:55 +01:00
Karl Tauber
9b1ae5c74a
IntelliJ Themes: support customizing through properties files (issue #824 )
...
re-written how .theme.json values are applied:
- old: .theme.json values were applied as last step to a UIDefaults object (after processing all FlatLaf properties files)
- new: .theme.json values are applied to the properties map while loading all FlatLaf properties files
2025-03-06 13:26:38 +01:00
Karl Tauber
143f96360b
IntelliJ Themes: removed Gruvbox Dark Medium and Gruvbox Dark Soft themes
2025-02-27 11:58:09 +01:00
Karl Tauber
68b8769d0d
IntelliJ Themes: theme prefix in IntelliJTheme$ThemeLaf.properties changed from [theme-name] to {theme-name}
...
preparation to support custom/general property prefixes for #649 and #974
2025-02-25 15:04:22 +01:00
Karl Tauber
7f37e884d3
Merge PR #972 : Increase contrast of text for better readability
2025-02-25 11:06:28 +01:00
Karl Tauber
a4dc1b4151
UIDefaultsLoader: support lazy option for spin(), changeHue(), changeSaturation(), changeLightness(), changeAlpha(), mix(), tint() and shade() color functions; added unit tests for lazy color functions
2025-02-25 10:42:44 +01:00
Karl Tauber
022a67929a
IntelliJ Themes: use "High Contrast" from intellij repo
2025-02-25 00:24:35 +01:00
Karl Tauber
f7c867fb97
increased contrast of separator lines in dark themes (issue #762 )
2025-02-24 19:54:18 +01:00
Karl Tauber
f0685d179e
Linux: support loading native libraries for unknown architectures (issue #966 )
...
expected filename is same as for `x86_64` architecture but replace `x86_64` with value of system property `os.arch`
2025-02-20 13:56:50 +01:00
Karl Tauber
c8eaf5f587
increased contrast of text for better readability (issue #762 )
2025-02-18 20:06:30 +01:00
Karl Tauber
ae4037ee82
Linux: rounded iconify/maximize/close buttons if using FlatLaf window decorations (issue #821 )
2025-02-18 13:33:02 +01:00
Karl Tauber
ebacad2d04
UIDefaultsLoader: support derived option for mix(), tint() and shade() color functions; added unit tests for color functions
2025-02-16 16:58:21 +01:00
Karl Tauber
5f6cc719ad
fixed loading FlatLaf UI delegate classes when using FlatLaf in special application where multiple class loaders are involved; e.g. in Eclipse plugin or in LibreOffice extension (issues #955 and #851 )
2025-02-12 14:35:35 +01:00
Karl Tauber
00858002de
Eclipse: updated org.eclipse.jdt.core.prefs using latest Eclipse and buildship versions
2025-02-05 14:00:11 +01:00
Karl Tauber
072cc3c488
Styling: MigLayout visual padding was not updated after applying style to Button, ComboBox, Spinner, TextField (and subclasses) and ToggleButton (issue #965 )
2025-02-05 12:55:12 +01:00
Karl Tauber
1f594b2ba8
Linux with FlatLaf window decorations: fixed occasional maximizing of window when single-clicking the window's title bar (issue #637 )
2025-01-28 15:31:13 +01:00
Karl Tauber
c32c00a5eb
Linux with FlatLaf window decorations:
...
- moved window resizer components from layered pane to rootpane so that border is included in area where user can resize window
- scale border thickness
2025-01-26 17:48:19 +01:00
Karl Tauber
3a8a55a545
Linux with FlatLaf window decorations: right and bottom window resize drag areas were 2px smaller than at left and top sides
2025-01-26 17:23:59 +01:00
Karl Tauber
6c49b8bc4d
Linux: hide popups when window is moved, resized, maximized, restored, iconified or switched to another window (issue #962 )
2025-01-25 09:48:52 +01:00
Karl Tauber
cca9707f6b
Popup: on Windows 10, update drop shadow of heavy-weight popup if popup moved/resized (issue #942 )
2025-01-25 07:45:57 +01:00
Karl Tauber
f30dd876e4
Linux: updated libflatlaf-linux-arm64.so for Linux on ARM64; now built on ARM64 Linux (ubuntu-24.04-arm); previous was cross-compiled on X86_64 Linux (issue #899 )
...
built by GitHub Actions: https://github.com/JFormDesigner/FlatLaf/actions/runs/12932258675
2025-01-23 16:38:16 +01:00
Karl Tauber
5e78b21df7
macOS native rounded borders: (PR #772 )
...
- removed opacity from contentView.layer
- catch and log exceptions
2025-01-21 11:59:40 +01:00
Karl Tauber
2ef87dc789
macOS: re-enabled rounded popup border (see PR #772 ) on macOS 14.4+ (was disabled in 3.5.x)
...
deferred rounded border setup, if popup window is not yet created, could make a difference (see commit 656d25b75e )
2025-01-20 19:42:55 +01:00
Karl Tauber
28904c34cc
Linux: added libflatlaf-linux-arm64.so for Linux on ARM64 (issue #899 )
...
built by GitHub Actions: https://github.com/JFormDesigner/FlatLaf/actions/runs/12845430366
2025-01-18 17:09:32 +01:00
Karl Tauber
a238fd4505
Button: fixed background and foreground colors for borderless and toolBarButton style default buttons (JButton.isDefaultButton() is true) (issue #947 )
2025-01-09 14:38:36 +01:00
Karl Tauber
8dc6242889
FlatLaf window decorations: minimize and maximize icons were not shown for custom scale factors less than 100% (e.g. `-Dflatlaf.uiScale=75%) (issue #951 )
2025-01-09 14:19:44 +01:00
Karl Tauber
d17fffb82a
PopupFactory: fixed NPE on Windows 10 when owner is null (issue #952 )
2025-01-09 12:26:57 +01:00
Karl Tauber
0ad3180b10
FileChooser: improved performance when navigating to large directories with thousands of files (issue #953 )
2025-01-09 12:04:25 +01:00
Karl Tauber
80ba75fdeb
List:
...
- fixed wrong x/width bounds of alternating rows for multi-column lists (PR #939 )
- Demo: added "alternating rows" checkboxes to "Data Components" page
2024-12-18 12:22:04 +01:00
Karl Tauber
7027821c00
Merge PR #939 : Support for alternate row color in JList
2024-12-18 00:30:01 +01:00
Dar
abf77d5399
mod: code format
2024-12-16 15:55:40 +01:00
Dar
6404b8de2a
fix: filter combobox by name
2024-12-16 15:49:19 +01:00
Dar
19055d5a18
mod: combobox does not support alternate row color
2024-12-13 09:21:14 +01:00
Dar
c12adf12e7
new: support for alternate row color in JList
2024-12-13 09:20:23 +01:00
Karl Tauber
b9c68fbe77
CheckBox: support styling indeterminate state of tri-state check boxes (issue #919 )
2024-12-11 16:54:03 +01:00
Karl Tauber
2a8e487c1f
Tree: support wide cell renderer (issue #922 )
2024-12-09 19:50:00 +01:00
Karl Tauber
3af54b7215
Merge branch 'flatlaf-3.5.4' into main
2024-12-09 01:12:27 +01:00
Karl Tauber
0a9ecd66a9
Linux: fixed NPE when using FlatLaf window decorations and switching theme (issue #933 ; regression in 3.5.3)
...
caused by fix for #907 ; commit d471f08b15
2024-12-09 00:43:44 +01:00
Karl Tauber
6991d6729e
Merge PR #931 : Fixing NPE when using HTML text on a component with null font
...
(cherry picked from commit 41332de275 )
2024-12-08 23:01:00 +01:00
Karl Tauber
304cb0d57b
Merge PR #903 : Support for alternate row color in JTree
2024-12-08 13:44:58 +01:00
Karl Tauber
41332de275
Merge PR #931 : Fixing NPE when using HTML text on a component with null font
2024-12-08 13:37:02 +01:00
Eduwardo Horibe
f96baf1bc2
Fixing NPE when using HTML text on a component with null font
2024-12-06 18:52:14 -03:00