This release brings some usability improvements to the window title bar used in FlatLaf window decorations.
This affects only Windows 10/11.
Window resizing
There are now additional areas at top of embedded menu bar to resize the window. This makes it easier to resize small frames with lot of menus.
Minimum window title width for moving window
The window title now has a minimum width, which avoids that it is completely hidden in small frames with menus. The window title is important because it is needed to move the window. Without any window title, you can move the window only via the small area around the window icon.
Buttons shrink if space is rare
The width of iconify/maximize/close buttons is reduced if space is rare, to give more space to embedded menu bar and title.
Show app icon beside title
There is a new option to show window icon beside window title, if menu bar is embedded or title is centered.
There is now a small area at top of the embedded menu bar to resize the
window.
Improved window title bar layout for small window widths:
Width of iconify/maximize/close buttons is reduced (if necessary) to give
more space to embedded menu bar and title.
Window title now has a minimum width to always allow moving window
(click-and-drag on window title). Instead, embedded menu bar is made
smaller.
Option to show window icon beside window title, if menu bar is embedded or
title is centered. Set UI value TitlePane.showIconBesideTitle to true.
No longer reduce height of window title bar if it has an embedded menu bar
and is maximized.
Fixed bugs
ComboBox: Fixed vertical alignment of text in popup list with text in combo
box in IntelliJ/Darcula themes.
Menus: Fixed application freeze under very special conditions (invoking
FlatLaf.initialize() twice in NetBeans GUI builder) and using menu that has
submenus. See
[NetBeans issue #4231](apache/netbeans#4231)
for details.
MenuItem: Fixed sometimes wrapped HTML text on HiDPI screens on Windows.
TableHeader: Fixed exception when changing table structure (e.g. removing
column) from a table header popup menu action. (issue #532)
HiDPIUtils.paintAtScale1x() now supports rotated graphics. (issue #557)
Typography: No longer use Consolas or Courier New as monospaced font on
Windows because they have bad vertically placement.
Native window decorations (Windows 10/11 only):
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)
Do not use window decorations if system property sun.java2d.opengl is
true on Windows 10. (issue #540)
Fixed missing top window border in dark themes if window drop shadows are
disabled in system settings. (issue #554; Windows 10 only)
Right-to-left component orientation of title bar was lost when switching
theme.
2.3
New features and improvements
FileChooser: Added (optional) shortcuts panel. On Windows it contains "Recent
Items", "Desktop", "Documents", "This PC" and "Network". On macOS and Linux it
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-extras from 1.0 to 2.4.
Release notes
Sourced from flatlaf-extras's releases.
... (truncated)
Changelog
Sourced from flatlaf-extras's changelog.
... (truncated)
Commits
f842530
release 2.463077bb
Merge PR #565: Window title bar usability improvements (Windows 10/11 only)4dad337
Window decorations: fixed app icon hit test bounds if icon is shown beside title10a965d
Window decorations: option to show window icon beside window title, if menu b...3e9c9c9
executeFlatLaf.initialize()
anduninitialize()
only for current laf8b5a738
Menus: avoid thatSubMenuUsabilityHelper
can be installed multiple times, w...2c041dc
Window decorations: add small resize area at top of embedded menu bar only if...ef151c6
Window decorations:52feaac
Window decorations: no longer reduce height of window title bar if it has an ...cddbb3d
Window decorations: make sure that a horizontal glue in embedded menu bar has...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)