Karl Tauber
5f047ddda9
Window decorations: added client properties to hide title, iconify, maximize/restore and close buttons (issue #608 )
2022-11-16 11:08:31 +01:00
Karl Tauber
ccca6fe88e
Merge PR #612 : macOS themes: make spinner look like macOS stepper
2022-11-16 10:59:10 +01:00
Karl Tauber
a1f18e1ec9
macOS themes: fixed spinner arrow hover/pressed colors (issue #497 ; PR #533 )
2022-11-16 10:51:38 +01:00
Karl Tauber
62f0ef19f4
macOS themes: make spinner look like macOS stepper (issue #497 ; PR #533 )
2022-11-15 14:29:47 +01:00
Karl Tauber
b736502c27
Tree: hide default closed/opened/leaf icons by default
2022-11-14 14:59:47 +01:00
Karl Tauber
3e6bce9cec
no longer check for system property apple.awt.graphics.UseQuartz because openjdk seems not support it
...
not found `apple.awt.graphics.UseQuartz` in:
- https://github.com/openjdk/jdk8u-dev
- https://github.com/openjdk/jdk
2022-11-14 13:48:54 +01:00
Karl Tauber
a6394cac38
minor code cleanup:
...
- remove redundant semicolon
- create array with curly
2022-11-14 12:25:29 +01:00
Karl Tauber
664f5c98e9
macOS themes: support changing accent and highlight colors (issue #497 )
2022-11-02 21:59:45 +01:00
Karl Tauber
c7bfd2ea82
UIDefaultsLoader: added systemColor() color function that can be used to change accent color (preparation for getting accent color from operating system)
2022-11-02 21:59:07 +01:00
Karl Tauber
9ce7ddd088
UIDefaultsLoader: reworked error handling when parsing colors to support null as result (preparation for systemColor() function)
2022-11-02 21:57:57 +01:00
Karl Tauber
aa9263a2e7
macOS themes: use rounded selection for menus and combo boxes; fixed menus and combo box selection colors (issue #497 )
2022-11-01 12:00:11 +01:00
Karl Tauber
5eaebde437
macOS themes: added some ScrollBar UI properties so that themes look the same on Windows or Linux as on macOS (issue #497 )
2022-11-01 11:52:36 +01:00
Karl Tauber
7f15f557a5
ComboBox: for style "mac", place popup over combobox (issue #497 )
2022-11-01 11:52:36 +01:00
Karl Tauber
b459715cb5
macOS light and dark themes (issue #497 )
2022-11-01 11:37:29 +01:00
Karl Tauber
ef21efecf5
Tree:
...
- Fixed missing tree lines (if enabled) for wide-selected rows. (issue #598 )
- Fixed scaling of tree lines and fixed alignment to expand/collapse arrows.
- Removed support for dashed tree lines. `Tree.lineTypeDashed` is now ignored.
2022-11-01 10:12:49 +01:00
Karl Tauber
2bfbc9dc12
Merge PR #577 : Rounded outlined icons
2022-10-30 10:39:09 +01:00
Karl Tauber
c3a1b45546
Merge PR #548 : ComboBox: support rounded selection
2022-10-30 10:28:48 +01:00
Karl Tauber
b72508f920
Merge PR #547 : List: Support rounded selection
...
# Conflicts:
# flatlaf-testing/src/main/java/com/formdev/flatlaf/testing/FlatComponents2Test.java
2022-10-30 10:24:16 +01:00
Karl Tauber
22bb80218d
Merge PR #546 : Tree: rounded selection
2022-10-30 10:16:07 +01:00
Karl Tauber
873a7e8572
Menu: fixed missing background on hover if top-level JMenu is opaque and selectionInsets or selectionArc are set (PR #536 )
2022-10-30 10:10:22 +01:00
Karl Tauber
0c5016fe89
Merge PR #536 : Menus: rounded selection
...
# Conflicts:
# flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatMenuBarUI.java
# flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatMenuUI.java
# flatlaf-core/src/main/resources/com/formdev/flatlaf/FlatLaf.properties
# flatlaf-theme-editor/src/main/resources/com/formdev/flatlaf/themeeditor/FlatLafUIKeys.txt
2022-10-30 09:55:09 +01:00
Karl Tauber
607b084697
Merge PR #534 : ToolBar: hover effect for button groups
2022-10-29 19:51:37 +02:00
Karl Tauber
b24e2db59e
FileChooser: fixed layout of (optional) accessory component and fixed too large right margin (issue #604 ; regression since implementing PR #522 in FlatLaf 2.3)
2022-10-21 13:12:52 +02:00
Karl Tauber
883b4d735a
changed "since 3" to "since 2.6"
2022-10-18 11:08:14 +02:00
Karl Tauber
36c405c708
fixed NPE in FlatUIUtils.isCellEditor() (issue #601 )
2022-10-17 18:09:12 +02:00
Karl Tauber
bc7c68ebe4
MenuBar: fixed NPE in FlatMenuItemRenderer.getTopLevelFont() if menu item does not have a parent (issue #600 ; regression since implementing #589 in FlatLaf 2.5; commit f6c5db07f2)
2022-10-17 17:08:12 +02:00
Karl Tauber
100aa0b621
Native libraries: load jawt.dll also on Windows when running in Java 9 and later (to be on the safe side)
2022-10-06 10:58:32 +02:00
Karl Tauber
8e42b19934
Native libraries: support loading via System.loadLibrary()
...
(for pre-extracted native libs in NetBeans)
2022-10-06 10:49:55 +02:00
Karl Tauber
1a456d5d68
ScaledImageIcon: do not throw exceptions if image has invalid size (e.g. not found); instead paint a red rectangle (similar to FlatSVGIcon)
2022-10-01 20:12:32 +02:00
Karl Tauber
e83c26a76a
- ScrollBar: show "pressed" feedback on track/thumb only for left mouse button; if absolute positioning is enabled (the default), then also for middle mouse button
...
- Arrow buttons in ComboBox, Spinner, ScrollBar and TabbedPane: show "pressed" feedback only for left mouse button
2022-09-30 19:55:42 +02:00
Karl Tauber
0699454df8
Merge PR #595 : Switch and close tabs on left mouse click only
2022-09-30 15:10:45 +02:00
Karl Tauber
92c110548a
ComboBox and Spinner: no longer use preferred height for arrow button width, because preferred height may be zero, which would hide arrow button (see https://github.com/scijava/scijava-ui-swing/issues/77#issuecomment-1261452712 )
...
- arrow button width depends on combobox/spinner height
- default/max button width is height of a raw combobox/spinner (without insets)
- min button width is 3/4 of default button width
2022-09-30 12:30:46 +02:00
ShadelessFox
95522846ac
Switch and close tabs on left mouse click only
2022-09-25 21:52:44 +03:00
Karl Tauber
c228362c01
Window decorations: added UI value TitlePane.font to customize window title font (issue #589 )
2022-09-23 11:57:38 +02:00
Karl Tauber
f6c5db07f2
MenuBar: top level menus now use MenuBar.font instead of Menu.font (issue #589 )
2022-09-23 00:31:14 +02:00
Karl Tauber
78e7839213
Window decorations: added option to show window icon only in frames, but not in dialogs (issue #589 )
2022-09-23 00:13:01 +02:00
Karl Tauber
86a4f306c6
Styling: added convenience methods to invoke StyleableUI interface methods
...
~~~java
JButton button = new JButton();
int arc = FlatLaf.getStyleableValue( button, "arc" );
Color borderColor = FlatLaf.getStyleableValue( button, "borderColor" );
~~~
2022-09-14 10:51:11 +02:00
Karl Tauber
596ff3382d
PasswordField: reveal button is now hidden (and turned off) if password field is disabled (issue #501 )
2022-09-11 17:05:48 +02:00
Karl Tauber
bcd7a7e3dd
FlatClientProperties: fixed typo in javadoc
2022-09-11 13:59:54 +02:00
Karl Tauber
9c98f1a553
fixed compiler warnings
2022-09-11 12:40:27 +02:00
Karl Tauber
c3d214aa23
Merge PR #579 : Linux window decorations: native move window and system menu
2022-09-11 12:11:06 +02:00
Karl Tauber
d301f6e104
MenuBar: support different menu selection style UI defaults for MenuBar and MenuItem (issue #587 )
2022-09-11 12:00:38 +02:00
Karl Tauber
eb9fa585f7
more fixes for AWT components on macOS (issue #583 )
...
- ScrollBar: disable hover because scroll bar does not receive mouse exited event
2022-09-10 18:56:33 +02:00
Karl Tauber
16c6ffb032
more fixes for AWT components on macOS (issue #583 )
...
- use light theme for AWT components if dark FlatLaf theme is active (AWT is always light)
- made AWT peer background compatible with Aqua Laf
2022-09-10 16:53:29 +02:00
Karl Tauber
7858e42e37
fixed AWT components on macOS (issue #583 )
...
- fixed missing focus indicator
- fixed round corners
- fixed java.awt.Button background
- fixed java.awt.Choice background
- fixed java.awt.Checkbox hover
2022-09-05 14:47:17 +02:00
Karl Tauber
30132aa6b0
added system property flatlaf.updateUIOnSystemFontChange to allow disabling automatic UI update when system font changes (issue #580 )
2022-08-24 19:32:38 +02:00
Karl Tauber
bf4d4cc2c5
Linux: fixed double-click on title bar to maximize/restore on Ubuntu 22.04 (issue #482 )
2022-08-21 19:49:41 +02:00
Karl Tauber
9f0554c883
Linux: added libflatlaf-linux-x86_64.so (issue #482 )
...
built by GitHub Actions:
https://github.com/JFormDesigner/FlatLaf/actions/runs/2898994332
2022-08-21 17:35:44 +02:00
Karl Tauber
218ea6ce47
Linux: fixed double-click on title bar to maximize/restore (issue #482 )
2022-08-21 17:24:50 +02:00
Karl Tauber
0baae7da8b
Linux: load jawt.so explicitly before loading FlatLaf native library to fix UnsatisfiedLinkError: ... libjawt.so: cannot open shared object file ... (issue #482 )
2022-08-20 23:49:14 +02:00