Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump flatlaf from 1.6.3 to 2.4 #78

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 14, 2022

Bumps flatlaf from 1.6.3 to 2.4.

Release notes

Sourced from flatlaf's releases.

2.4

Highlights

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.

image

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.

image

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.

image

image

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.

image

Change Log

New features and improvements

  • Native window decorations (Windows 10/11 only): (PR #565)
    • 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.

... (truncated)

Changelog

Sourced from flatlaf's changelog.

2.4

New features and improvements

  • Native window decorations (Windows 10/11 only):
    • 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

... (truncated)

Commits
  • f842530 release 2.4
  • 63077bb 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 title
  • 10a965d Window decorations: option to show window icon beside window title, if menu b...
  • 3e9c9c9 execute FlatLaf.initialize() and uninitialize() only for current laf
  • 8b5a738 Menus: avoid that SubMenuUsabilityHelper 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...
  • Additional commits viewable in compare view

Dependabot compatibility score

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](https://github.com/JFormDesigner/FlatLaf) from 1.6.3 to 2.4.
- [Release notes](https://github.com/JFormDesigner/FlatLaf/releases)
- [Changelog](https://github.com/JFormDesigner/FlatLaf/blob/main/CHANGELOG.md)
- [Commits](JFormDesigner/FlatLaf@1.6.3...2.4)

---
updated-dependencies:
- dependency-name: com.formdev:flatlaf
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 14, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 27, 2022

Superseded by #89.

@dependabot dependabot bot closed this Sep 27, 2022
@dependabot dependabot bot deleted the dependabot/gradle/com.formdev-flatlaf-2.4 branch September 27, 2022 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants