If value of system property flatlaf.nativeLibraryPath is system, then
System.loadLibrary(String) is used to load the native library.
TabbedPane: Switch and close tabs on left mouse click only. (PR #595)
Fixed bugs
ComboBox and Spinner: Fixed missing arrow buttons if preferred height is zero.
Minimum width of arrow buttons is 3/4 of default width.
MenuBar: Fixed NPE in FlatMenuItemRenderer.getTopLevelFont() if menu item
does not have a parent. (issue #600; regression since implementing #589 in
FlatLaf 2.5)
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.
ScaledImageIcon: Do not throw exceptions if image was has invalid size (e.g.
not found). Instead, paint a red rectangle (similar to FlatSVGIcon).
Fixed NPE in FlatUIUtils.isCellEditor(). (issue #601)
2.5
Change Log
New features and improvements
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.
This gives FlatLaf windows a more "native" feeling. (issue #482)
MenuBar: Support different menu selection style UI defaults for MenuBar and MenuItem. (issue #587)
MenuBar: Top level menus now use MenuBar.font instead of Menu.font. (issue #589)
PasswordField: Reveal button is now hidden (and turned off) if password field
is disabled. (issue #501)
TabbedPane: New option to disable tab run rotation in wrap layout. Set UI
value TabbedPane.rotateTabRuns to false. (issue #574)
Window decorations:
Added client property to mark components in embedded menu bar as "caption"
(allow moving window). (issue #569)
Option to show window icon only in frames, but not in dialogs. Set UI value
TitlePane.showIconInDialogs to false. (issue #589)
Added UI value TitlePane.font to customize window title font. (issue #589)
Added system property flatlaf.updateUIOnSystemFontChange to allow disabling
automatic UI update when system font changes. (issue #580)
If value of system property flatlaf.nativeLibraryPath is system, then
System.loadLibrary(String) is used to load the native library.
TabbedPane: Switch and close tabs on left mouse click only. (PR #595)
Fixed bugs
ComboBox and Spinner: Fixed missing arrow buttons if preferred height is zero.
Minimum width of arrow buttons is 3/4 of default width.
MenuBar: Fixed NPE in FlatMenuItemRenderer.getTopLevelFont() if menu item
does not have a parent. (issue #600; regression since implementing #589 in
FlatLaf 2.5)
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.
ScaledImageIcon: Do not throw exceptions if image was has invalid size (e.g.
not found). Instead, paint a red rectangle (similar to FlatSVGIcon).
Fixed NPE in FlatUIUtils.isCellEditor(). (issue #601)
2.5
New features and improvements
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.
This gives FlatLaf windows a more "native" feeling. (issue #482)
MenuBar: Support different menu selection style UI defaults for MenuBar and
MenuItem. (issue #587)
MenuBar: Top level menus now use MenuBar.font instead of Menu.font. (issue
#589)
PasswordField: Reveal button is now hidden (and turned off) if password field
is disabled. (issue #501)
TabbedPane: New option to disable tab run rotation in wrap layout. Set UI
value TabbedPane.rotateTabRuns to false. (issue #574)
Window decorations:
Added client property to mark components in embedded menu bar as "caption"
(allow moving window). (issue #569)
Option to show window icon only in frames, but not in dialogs. Set UI value
TitlePane.showIconInDialogs to false. (issue #589)
Added UI value TitlePane.font to customize window title font. (issue #589)
Added system property flatlaf.updateUIOnSystemFontChange to allow disabling
automatic UI update when system font changes. (issue #580)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps flatlaf from 1.0 to 2.6.
Release notes
Sourced from flatlaf's releases.
... (truncated)
Changelog
Sourced from flatlaf's changelog.
... (truncated)
Commits
069a7c8
release 2.6883b4d7
changed "since 3" to "since 2.6"9f39b26
CHANGELOG.md: moved PR #595 from "Fixed bugs" to "New features and improvements"36c405c
fixed NPE inFlatUIUtils.isCellEditor()
(issue #601)bc7c68e
MenuBar: fixed NPE inFlatMenuItemRenderer.getTopLevelFont()
if menu item d...6c502ad
2.6-SNAPSHOT100aa0b
Native libraries: load jawt.dll also on Windows when running in Java 9 and la...8e42b19
Native libraries: support loading via System.loadLibrary()1a456d5
ScaledImageIcon: do not throw exceptions if image has invalid size (e.g. not ...e83c26a
- ScrollBar: show "pressed" feedback on track/thumb only for left mouse butto...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)