Karl Tauber
872c84974c
Merge PR #822 : Request to add MCreator to list of apps using FlatLAF
2024-03-23 15:08:20 +01:00
Karl Tauber
5dd2008969
GitHub Actions: build using Java 22 (use toolchain because Gradle 8.7 does not support running on Java 22)
2024-03-23 14:13:43 +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
a503879858
update to Gradle 8.7
2024-03-23 13:10:58 +01:00
Klemen
14f19dd735
Update README.md
2024-03-18 09:07:56 +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
11e0757387
FlatSVGIcon:
...
- setColorFilter() now returns `this`
- added method to enable/disable and clear SVGDocument cache
- do not filter red color in `paintSvgError()`
2024-03-12 13:36:56 +01:00
Karl Tauber
1f1ebc3c44
FlatSVGIcon: some additions to PR #817 :
...
- create new `LinearGradientPaint` only if color has changed
- preserve old `LinearGradientPaint.colorSpace` and `transform`
2024-03-12 12:20:31 +01:00
Karl Tauber
4be97b6ea6
Merge PR #817 : Add LinearGradient paint in svg color filter
2024-03-11 19:04:47 +01:00
laing raven
3facca5499
add LinearGradient paint in svg color filter
2024-03-10 19:12:29 +07:00
Karl Tauber
bfbd25012a
release 3.4
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
d7a76081e3
FileChooser: extended FlatFileChooserTest to support testing various locales (issue #795 )
2024-02-12 12:05:01 +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
4fc890a77c
Testing: split FlatChooserTest into FlatFileChooserTest and FlatChooserTest
2024-02-10 14:16:45 +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
c6338169f3
Testing: updated lafs.properties
2024-02-05 14:20:21 +01:00
Karl Tauber
6cea24ed9e
GitHub Actions: updated versions of used actions
2024-02-05 11:34:58 +01:00
Karl Tauber
3d8eb9eb66
UIDefaultsKeysDump: exclude unused UI properties
2024-02-05 11:33:25 +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
445466acd0
Demo: removed toolbar button listeners used to test PR #779
2024-01-28 12:14:28 +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
cf44a5c50b
GitHub Actions: publish shapshots of PRs to Sonatype OSSRH
2024-01-25 13:26:31 +01:00
Karl Tauber
91b8c02c7f
GitHub Actions: ignore changes to files that are not related to builds (e.g. readmes, etc.)
2024-01-24 19:23:47 +01:00
Karl Tauber
ca3b2b4b07
Fonts: updated Inter to v4.0
fonts/inter-4.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
Karl Tauber
96b7770ab2
CHANGELOG.md: added PR #794
2024-01-23 14:29:22 +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