Karl Tauber
c989b97ffa
fixed custom properties file names for nested classes (e.g. IntelliJTheme$ThemeLaf.properties instead of ThemeLaf.properties)
...
(see issue #824 )
2024-03-29 13:14:29 +01:00
Karl Tauber
5f5c225300
macOS: fixed crash when running in WebSwing (issue #826 ; regression in 3.4)
2024-03-26 13:24:05 +01:00
Karl Tauber
32d102dbc9
Native Libraries: added API version to:
...
- test whether native library matches the JAR (bad builds could e.g. ship a newer JAR with an older incompatible native library)
- invoke a method (to get API version) to check whether native library works correctly
if API version do not match, or method could not invoked correctly, disable usage of FlatLaf native library
Windows and macOS binaries built and signed locally in clean workspace
Linux binary built by GitHub Actions
2024-03-24 16:37:11 +01:00
Karl Tauber
4e1f092b98
FlatClientProperties: javadoc fixes
2024-03-24 12:45:48 +01:00
Karl Tauber
bd60a18ff4
SplitPane:
...
- update divider when client property `JSplitPane.expandableSide` changed
- Extras: added support for `JSplitPane.expandableSide` client property to `FlatSplitPane`
2024-03-24 12:42:39 +01:00
Karl Tauber
55ddac2bc7
Gradle: use simpler Kotlin DSL property assignment
...
https://blog.gradle.org/simpler-kotlin-dsl-property-assignment
2024-03-23 13:56:47 +01:00
Karl Tauber
a62dd22f83
Gradle: fixed warning regarding using deprecation Gradle features, making it incompatible with Gradle 9.0
2024-03-23 13:46:51 +01:00
Karl Tauber
9a727f68ce
Window decorations: fixed missing window top border on Windows 10 in "full window content" mode (issue #809 )
2024-03-17 18:09:19 +01:00
Karl Tauber
d26819d268
TabbedPane:
...
- updated comment regarding unsupported scroll buttons in right-to-left component orientation (see issue #815 )
- removed unused on wrong code that tries to layout scroll buttons for right-to-left
2024-03-13 00:03:05 +01:00
Karl Tauber
44752cc9aa
TabbedPane: fixed swapped back and forward scroll buttons when using TabbedPane.scrollButtonsPlacement = trailing (regression in FlatLaf 3.3 since commit 97495a6093)
2024-03-12 18:41:47 +01:00
Karl Tauber
bfbd25012a
release 3.4
2024-02-19 23:29:00 +01:00
Karl Tauber
063fff2ab4
gradle: fixed dependency of task ':flatlaf-core:signMavenPublication' (type 'Sign')
2024-02-19 23:28:31 +01:00
Karl Tauber
fbdc8d5b99
Merge branch 'windows-full-window-content'
2024-02-19 22:25:04 +01:00
Karl Tauber
625c0a3321
Tree: detect tree cell editor in FlatUIUtils.isCellEditor()
2024-02-19 22:12:29 +01:00
Karl Tauber
2972300112
Table: select all text in cell editor when starting editing using F2 key; can be disabled using Table.editorSelectAllOnStartEditing (issue 652)
...
also added missing `Table.paintOutsideAlternateRows`
2024-02-19 22:03:19 +01:00
Karl Tauber
a8e71895ee
gradle: use AbstractPublishToMaven instead of PublishToMavenRepository to support publishing to local Maven repo (PublishToMavenLocal)
2024-02-19 18:47:48 +01:00
Karl Tauber
fd925a6718
FileChooser: extended FlatFileChooserTest to support testing all JFileChooser properties (issue #795 )
2024-02-10 19:35:53 +01:00
Karl Tauber
b804463b73
Window decorations:
...
- fixed updating of client property `FULL_WINDOW_CONTENT_BUTTONS_BOUNDS` when resizing window
- fixed title bar buttons placeholder debug painting
2024-02-06 11:30:11 +01:00
Karl Tauber
8f161b4b5a
introduced FlatUIAction
2024-02-05 19:03:29 +01:00
Karl Tauber
a84aceb1ba
Window decorations: improved caption hit testing to better support TabbedPane, SplitPane and ToolBar in title bar area (e.g. for fullWindowContent mode)
2024-02-04 16:30:38 +01:00
Karl Tauber
8adb7e3021
Native libraries: support Gradle cache when running in development environment (issue #800 )
2024-02-02 19:02:56 +01:00
Karl Tauber
bc0d5dc9b5
Native libraries: publish flatlaf-<version>-no-natives.jar to Maven Central; this JAR is equal to flatlaf-<version>.jar, except that it does not contain the FlatLaf native libraries (issue #800 )
2024-02-02 17:51:06 +01:00
Karl Tauber
1d935d6659
Window decorations: support fullWindowContent mode on Windows and Linux
2024-02-02 10:06:25 +01:00
Karl Tauber
30af74f806
macOS: setting window background (of undecorated window) to translucent color (alpha < 255) did not show the window translucent (issue #705 )
2024-01-28 11:57:17 +01:00
Karl Tauber
16ddd100d3
RootPane: undone commits 7b248427f0 and c6d1ed91a7 because it seems to have no effect anymore
...
- on Windows with FlatLaf window decorations, maybe because of 7f02eb9cf0
- on Windows with standard window decorations, it seems not to work (still shows "white lines" @2.25x on Windows 10; Java 17)
- macOS and Linux do not support fractional scaling and "white lines" shown never be shown on that platforms
2024-01-27 11:19:18 +01:00
Karl Tauber
c946ec170d
macOS window buttons spacing:
...
- uninstall when switching from FlatLaf to another Laf
- install when switching from another Laf to FlatLaf
(for PR #779 )
2024-01-27 11:09:16 +01:00
Karl Tauber
ca514dd76e
Merge PR #779 : macOS: window title bar close/minimize/zoom buttons spacing
2024-01-25 14:06:38 +01:00
Karl Tauber
ca3b2b4b07
Fonts: updated Inter to v4.0
2024-01-24 15:45:43 +01:00
Karl Tauber
722dde63df
Native libraries: system property flatlaf.nativeLibraryPath now supports loading native libraries named the same as on Maven central; improved log messages for loading fails (issue #797 )
2024-01-24 01:02:44 +01:00
Karl Tauber
c85baf4dc6
flatlaf-natives-windows: fixed invocation of GetMonitorInfo() (issue #798 )
...
also removed unnecessary setting `mii.fType`
2024-01-23 15:54:44 +01:00
rogerbj
0c00117820
Remove the dependency with JMenuBar to support, for example, the CommandMenuBar in JIDE OSS
...
(cherry picked from commit 4d4b90c989 )
2024-01-23 13:47:12 +01:00
Karl Tauber
3465fa68b4
macOS window buttons spacing:
...
- renamed client property `MACOS_WINDOW_BUTTON_STYLE` to `MACOS_WINDOW_BUTTONS_SPACING`
- no longer allow value `true` for that client property
- enable using `MACOS_WINDOW_BUTTONS_SPACING` without `apple.awt.fullWindowContent`
- remove client property `FULL_WINDOW_CONTENT_BUTTONS_BOUNDS` when `apple.awt.fullWindowContent` is set to false or null
- added placeholder options `zeroInFullScreen`, `leftToRight` and `rightToLeft`
- hide close/min/max buttons during the transition from full-screen to non-full-screen to avoid that they "jump" when the nsToolbar is made visible
- fixed: full-screen listeners where added multiple times
- updated macOS native libraries
- added `FlatMacOSTest`
2024-01-22 00:31:40 +01:00
Karl Tauber
28278a75a7
macOS fullWindowContent mode:
...
- added title bar buttons placeholder
- added client property to root pane that contains title bar buttons bounds
- undone toolbar extensions from commit ea2447dcb7
2024-01-21 19:19:46 +01:00
Karl Tauber
f68a871dd6
macOS window button style: fixed javadoc
2024-01-12 22:49:49 +01:00
Karl Tauber
93d424cfe1
macOS native: added FlatNativeMacLibrary.windowToggleFullScreen() for easier testing
2024-01-12 22:49:49 +01:00
Karl Tauber
a1adde0888
macOS window button style: support NSWindowToolbarStyleUnified (availaible since macOS 11+; standard in macOS Finder, etc) to allow even larger space around close/minimize/zoom buttons
2024-01-12 22:48:31 +01:00
Karl Tauber
13528b49cb
macOS large title bar: fixed wrong "main" JToolBar height and left inset after leaving full screen
2024-01-12 22:48:31 +01:00
Karl Tauber
f3be3f2d1c
macOS large title bar: added client property FlatClientProperties.MACOS_LARGE_WINDOW_TITLE_BAR (or "FlatLaf.macOS.largeWindowTitleBar")
2024-01-12 22:48:31 +01:00
Karl Tauber
ea2447dcb7
macOS large title bar: main JToolBar automatically:
...
- uses height of macOS window title bar
- adds left insets for close/minimize/zoom buttons (except if full screen, where those buttons are hidden)
2024-01-12 22:47:33 +01:00
Karl Tauber
f40baed65e
macOS large title bar: add NSToolbar to NSWindow
2024-01-12 22:45:54 +01:00
Karl Tauber
19f27a8d56
release 3.3
2024-01-11 18:14:17 +01:00
Karl Tauber
cf3fa17666
fixed typos and grammar
2024-01-11 18:11:09 +01:00
Karl Tauber
6fdc56f2d3
Merge PR #790 : Table header background is never restored after hover when the renderer background is null
2024-01-10 19:26:22 +01:00
Karl Tauber
9f17a5b26d
TableHeader: restore also renderer foreground after hover
2024-01-10 19:19:01 +01:00
Karl Tauber
fa53e90847
Merge PR #788 : Support for hover/pressed on SplitPane divider
2024-01-10 16:43:28 +01:00
Karl Tauber
50c630f403
Table: fixed border arc of components in complex table cell editors (issue #786 )
2024-01-10 16:37:32 +01:00
Dar
5630c161ea
fix: restore the renderer background after hover
...
The table header background is never restored after hover when the label renderer is opaque
2024-01-09 16:58:21 +01:00
Karl Tauber
7d16ff9e79
SplitPane:
...
- removed `SplitPaneDivider.showHover` (hover is now enabled if hover color is specified)
- added `SplitPaneDivider.pressedColor` (for pressed/dragging in continuous layout)
- fixed painting of dragging divider in non-continuous layout (was 1px too small; added grip)
- updated styling unit tests
2024-01-08 22:39:01 +01:00
Karl Tauber
a9ea9daec3
FileChooser: catch NPE in Java 21 when getting icon for .exe files that use default Windows exe icon (see https://bugs.openjdk.org/browse/JDK-8320692 )
2024-01-08 20:29:20 +01:00
Karl Tauber
45bdd40dce
Viewport: use method handle, instead of reflection, to get view UI faster
2024-01-08 20:12:26 +01:00