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
Karl Tauber
fb4576fc1b
Linux: use X11 window manager events to move window and to show window menu (right-click on window title bar), if custom window decorations are enabled (issue #482 )
2022-08-20 21:09:49 +02:00
Karl Tauber
16f3f9e6ff
Window decorations: added client property to mark components in embedded menu bar as "caption" (issue #569 )
2022-08-20 19:42:38 +02:00
Karl Tauber
fee7cf6265
FlatPopupFactory: use method handles instead of reflection
2022-08-13 11:18:47 +02:00
Karl Tauber
2dd75c4a64
fixed possible exception in FlatUIUtils.resetRenderingHints() (issue #575 )
2022-08-12 15:41:55 +02:00
Karl Tauber
d2f46cd0b5
TabbedPane: option to disable tab run rotation in wrap layout (issue #574 )
2022-08-12 15:32:39 +02:00
Karl Tauber
10914083e6
JavaCompatibility: use method handles instead of reflection
2022-08-12 11:20:42 +02:00
Karl Tauber
5d167da55e
Styling: fixed styling protected JRE fields using @StyleableField annotation (regression in commit ff00a6c0f0)
2022-08-12 11:15:49 +02:00
Karl Tauber
b381e20e57
UIDefaultsLoader: over() color function should always return a ColorUIResource
2022-08-11 23:52:35 +02:00
Karl Tauber
2826cf379b
added arrow icons to FlatLaf Icons.sketch and exported as SVGs
2022-08-11 00:24:22 +02:00
Karl Tauber
d28745df29
added missing @since 1.2 tags to setup() methods
2022-08-05 11:19:52 +02:00
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
ec547e1d65
fixed compiler warnings
2022-08-03 11:55:59 +02:00
Karl Tauber
61d4eb649b
Styling: fixed failing unit test TestFlatStyleableValue
...
- caused by non-english locale
- when running on Java 17
2022-08-03 11:21:06 +02:00
Karl Tauber
52ad15e375
Styling: added StyleableUI.getStyleableValue() for tooling (e.g. GUI builder)
2022-07-31 10:57:28 +02:00
Karl Tauber
ff00a6c0f0
Styling: use annotation on UI classes for fields in Basic* classes to apply style properties (to avoid boilerplate code)
2022-07-30 11:03:17 +02:00
Karl Tauber
9b1ebd658d
updated sigtest for FlatLaf 2.4
...
(generated in clean workspace with gradle task `sigtestGenerate`)
2022-07-13 23:45:28 +02:00
Karl Tauber
63077bbb19
Merge PR #565 : Window title bar usability improvements (Windows 10/11 only)
2022-07-13 23:28:38 +02:00
Karl Tauber
4dad337377
Window decorations: fixed app icon hit test bounds if icon is shown beside title
2022-07-13 23:11:32 +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
3e9c9c9066
execute FlatLaf.initialize() and uninitialize() only for current laf
...
For NetBeans GUI builder, which invokes `FlatLaf.initialize()` multiple times for preview, but never invokes `FlatLaf.uninitialize()`.
(https://github.com/apache/netbeans/issues/4231 )
2022-07-12 12:13:19 +02:00
Karl Tauber
8b5a738e65
Menus: avoid that SubMenuUsabilityHelper can be installed multiple times, which can freeze the application caused pushing multiple event queues and popping wrong event queue first
...
(e.g. NetBeans Form Editor invokes `FlatLaf.initialize()` but not `uninitialize()`)
(PR #490 ; https://github.com/apache/netbeans/issues/4231 )
2022-07-12 10:33:53 +02:00
Karl Tauber
2c041dce3a
Window decorations: add small resize area at top of embedded menu bar only if frame is resizable
2022-07-11 17:47:04 +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
52feaac92a
Window decorations: no longer reduce height of window title bar if it has an embedded menu bar and is maximized
2022-07-10 14:03:45 +02:00
Karl Tauber
cddbb3d7d4
Window decorations: make sure that a horizontal glue in embedded menu bar has a minimum width and is always visible
2022-07-10 13:57:37 +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
9977bcb468
Window decorations: do not center window title if embedded menu bar is empty or has no menus at left side, but some components at right side (issue #558 )
2022-07-09 00:04:51 +02:00
Karl Tauber
a372da22f3
Extras: FlatInspector:
...
- support embedding into SWT
- added "MigLayout visual padding" to tooltip
fixed typo in MigLayoutVisualPadding.java
2022-07-04 11:09:06 +02:00
Karl Tauber
8b10d3ba5a
Native window decorations: fixed missing top window border in dark themes if window drop shadows are disabled in system settings (issue #554 )
2022-07-02 23:26:34 +02:00
Karl Tauber
a8b15c6a12
MenuItem: fixed sometimes wrapped HTML text on HiDPI screens on Windows
2022-07-02 22:38:37 +02:00
Karl Tauber
23bac7e5fd
Native window decorations: do not use window decorations if system property sun.java2d.opengl is true on Windows 10 (issue #540 )
2022-07-02 00:29:29 +02:00
Karl Tauber
b82ee2ef61
Typography: no longer use Consolas or Courier New as monospaced font on Windows because they have bad vertically placement
2022-07-02 00:25:07 +02:00
Karl Tauber
b7761f4b71
HiDPIUtils: support rotated graphics (issue #557 )
2022-07-01 15:34:04 +02:00
Karl Tauber
d2acb2c98a
HiDPIUtils: reimplemented HiDPIUtils.scale() to make it easier to read and more understandable
...
(no longer re-using dx1 and dy2 variables for different kind of values)
2022-06-05 23:43:13 +02:00
Karl Tauber
d60bd5df14
FlatEmptyBorder: fixed possible NPE if passed component is null
2022-06-05 00:46:43 +02:00
Karl Tauber
73b6ca3762
ComboBox: fixed vertical alignment of text in popup list with text in combo box in IntelliJ/Darcula themes
2022-06-04 20:15:31 +02:00
Karl Tauber
6c18431a30
TableHeader: fixed exception when changing table structure (e.g. removing column) from a table header popup menu action (issue #532 )
2022-05-31 18:56:06 +02:00
Karl Tauber
ad384acd57
updated sigtest for FlatLaf 2.3
...
(generated in clean workspace with gradle task `sigtestGenerate`)
2022-05-28 18:43:37 +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
58dbccec2d
Table: optionally paint alternating rows below table if table is smaller than scroll pane (issue #504 )
2022-05-25 11:18:22 +02:00
Karl Tauber
90de14d013
Native library: refactored loading of Windows native library from FlatWindowsNativeWindowBorder to FlatNativeLibrary to make it easier to add native libraries for other platforms (for issues #204 and #482 )
2022-05-17 20:24:28 +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
02cf6050a1
updates for PR #530 :
...
- added @since tags
- changed `FlatToggleButton.setTabUnderlinePlacement()` implementation so that is behaves similar to `FlatTabbedPane.setTabIconPlacement()`
2022-05-09 22:28:34 +02:00
Karl Tauber
38cf32a2e9
Merge PR #530 : ToggleButton: made underline placement configurable
2022-05-09 22:08:42 +02:00
Karl Tauber
2ae7589d14
Merge PR #525 : Create Bundle_es.properties
2022-05-09 21:28:47 +02:00
Julien Fischer
bcb2e1f0a1
ToggleButton: made underline placement configurable
...
Supported values: TOP, LEFT, BOTTOM, or RIGHT
2022-05-06 12:07:50 +02:00