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 2.4 to 3.0 #100

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 19, 2022

Bumps flatlaf from 2.4 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)

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)

Fixed bugs

... (truncated)

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)

Bumps [flatlaf](https://github.com/JFormDesigner/FlatLaf) from 2.4 to 3.0.
- [Release notes](https://github.com/JFormDesigner/FlatLaf/releases)
- [Changelog](https://github.com/JFormDesigner/FlatLaf/blob/main/CHANGELOG.md)
- [Commits](JFormDesigner/FlatLaf@2.4...3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 19, 2022
@dependabot dependabot bot mentioned this pull request Dec 19, 2022
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.

None yet

0 participants