Milchreis / UiBooster

🚀 Creates fast and easy dialogs for utility tools
GNU General Public License v3.0
117 stars 12 forks source link

Bump flatlaf from 2.5 to 3.0 #80

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps flatlaf from 2.5 to 3.0.

Release notes

Sourced from flatlaf's releases.

2.6

Change Log

New features and improvements

  • 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)
Changelog

Sourced from flatlaf's changelog.

3.0

New features and improvements

  • macOS light and dark themes: The two new themes FlatMacLightLaf and FlatMacDarkLaf use macOS colors and look similar to native macOS controls. (PRs #533, #612 and #607)
  • Fonts: Packaged some fonts into JARs and provide an easy way to use them with FlatLaf. (PRs #545, #614 and #615) At the moment there are three fonts:
  • Rounded selection: Optionally use rounded selection in:
  • Tree: Hide default closed/opened/leaf icons by default. Set UI value Tree.showDefaultIcons to true to show them.
  • ToolBar: Hover effect for button groups. (PR #534)
  • Icons: New modern rounded outlined icons for JFileChooser, JOptionPane, JPasswordField and JTree. (PR #577)

Fixed bugs

  • FileChooser: Fixed layout of (optional) accessory component and fixed too large right margin. (issue #604; regression since implementing PR #522 in FlatLaf 2.3)
  • Tree:
    • Fixed missing tree lines (if enabled) for wide-selected rows. (issue #598)
    • Fixed scaling of tree lines and fixed alignment to expand/collapse arrows.
    • Removed support for dashed tree lines. Tree.lineTypeDashed is now ignored.
  • SwingX: Fonts in JXHeader, JXMonthView, JXTaskPane and JXTitledPanel were not updated when changing default font.

2.6

New features and improvements

  • 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.

... (truncated)

Commits
  • b879b39 release 3.0
  • e4503c2 Native window decorations: signed Windows DLLs with FormDev Software GmbH cod...
  • 7e2d02b added DSC Software AG as Platinum sponsor; added Jeyla Studio
  • d286550 Merge PR #613: Window decorations: Title bar customizing
  • 4e44e25 macOS themes: fix horizontal centering of combobox arrows (issue #497; PR #533)
  • 9fef2f9 SwingX: update fonts in JXHeader, JXMonthView, JXTaskPane and `JXTitled...
  • 04f1f59 Native window decorations: updated DLLs (issue #591)
  • f9ecffb flatlaf-natives-windows: fixed memory allocation error handling (issue #591)
  • c9b5274 flatlaf-natives-windows: reworked memory allocation error handling
  • d209d47 Testing: added FlatPaintingArrowsTest (extracted from FlatPaintingTest and us...
  • 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)