Skip to content
This repository has been archived by the owner on Nov 2, 2021. It is now read-only.

Bump flatlaf from 0.45 to 1.2 #37

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 21, 2021

Bumps flatlaf from 0.45 to 1.2.

Release notes

Sourced from flatlaf's releases.

1.2

This release brings a lot of minor new features, improvements and bug fixes.

Users of version 1.1.x are recommended to update to 1.2 because this release fixes some minor issues with native window decorations.

Change log

New features and improvements

  • Renamed Flat*Laf.install() methods to Flat*Laf.setup() to avoid confusion with UIManager.installLookAndFeel(LookAndFeelInfo info). The old Flat*Laf.install() methods are still there, but marked as deprecated. They will be removed in a future version.
  • Button and ToggleButton: Support borderless button style (set client property JButton.buttonType to borderless). (PR #276)
  • ComboBox: Support using as cell renderer (e.g. in JTable).
  • DesktopPane: Improved layout of iconified internal frames in dock:
    • Always placed at bottom-left in desktop pane.
    • Newly iconified frames are added to the right side of the dock.
    • If frame is deiconified, dock is compacted (icons move to the left).
    • If dock is wider than desktop width, additional rows are used.
    • If desktop pane is resized, layout of dock is updated.
  • TableHeader: Moved table header column border painting from FlatTableHeaderUI to new border FlatTableHeaderBorder to improve compatibility with custom table header implementations. (issue #228)
  • Linux: Enable text anti-aliasing if no Gnome or KDE Desktop properties are available. (issue #218)
  • IntelliJ Themes: Added "Material Theme UI Lite / GitHub Dark" theme.
  • JIDE Common Layer: Improved support for JideTabbedPane. (PR #306)
  • Extras: FlatSVGIcon improvements:
    • Each icon can now have its own color filter. (PR #303)
    • Use mapper function in color filter to dynamically map colors. (PR #303)
    • Color filter supports light and dark themes.
    • Getters for icon name, classloader, etc.
  • Extras: UI Inspector: Show class hierarchies when pressing Alt key and prettified class names (dimmed package name).
  • Extras: FlatSVGUtils.createWindowIconImages() now returns a single multi-resolution image that creates requested image sizes on demand from SVG (only on Windows with Java 9+).

Fixed bugs

  • CheckBox and RadioButton: Do not fill background if used as cell renderer, except if cell is selected or has different background color. (issue #311)
  • DesktopPane:
    • Fixed missing preview of iconified internal frames in dock when using a custom desktop manager. (PR #294)
    • Fixed incomplete preview of iconified internal frames in dock when switching LaF.
    • On HiDPI screens, use high-resolution images for preview of iconified

... (truncated)

Changelog

Sourced from flatlaf's changelog.

1.2

New features and improvements

  • Renamed Flat*Laf.install() methods to Flat*Laf.setup() to avoid confusion with UIManager.installLookAndFeel(LookAndFeelInfo info). The old Flat*Laf.install() methods are still there, but marked as deprecated. They will be removed in a future version.
  • Button and ToggleButton: Support borderless button style (set client property JButton.buttonType to borderless). (PR #276)
  • ComboBox: Support using as cell renderer (e.g. in JTable).
  • DesktopPane: Improved layout of iconified internal frames in dock:
    • Always placed at bottom-left in desktop pane.
    • Newly iconified frames are added to the right side of the dock.
    • If frame is deiconified, dock is compacted (icons move to the left).
    • If dock is wider than desktop width, additional rows are used.
    • If desktop pane is resized, layout of dock is updated.
  • TableHeader: Moved table header column border painting from FlatTableHeaderUI to new border FlatTableHeaderBorder to improve compatibility with custom table header implementations. (issue #228)
  • Linux: Enable text anti-aliasing if no Gnome or KDE Desktop properties are available. (issue #218)
  • IntelliJ Themes: Added "Material Theme UI Lite / GitHub Dark" theme.
  • JIDE Common Layer: Improved support for JideTabbedPane. (PR #306)
  • Extras: FlatSVGIcon improvements:
    • Each icon can now have its own color filter. (PR #303)
    • Use mapper function in color filter to dynamically map colors. (PR #303)
    • Color filter supports light and dark themes.
    • Getters for icon name, classloader, etc.
  • Extras: UI Inspector: Show class hierarchies when pressing Alt key and prettified class names (dimmed package name).
  • Extras: FlatSVGUtils.createWindowIconImages() now returns a single multi-resolution image that creates requested image sizes on demand from SVG (only on Windows with Java 9+).

Fixed bugs

  • CheckBox and RadioButton: Do not fill background if used as cell renderer, except if cell is selected or has different background color. (issue #311)
  • DesktopPane:
    • Fixed missing preview of iconified internal frames in dock when using a custom desktop manager. (PR #294)
    • Fixed incomplete preview of iconified internal frames in dock when switching LaF.
    • On HiDPI screens, use high-resolution images for preview of iconified internal frames in dock.
  • PopupFactory: Fixed occasional NullPointerException in FlatPopupFactory.fixToolTipLocation(). (issue #305)
  • Tree: Fill cell background if DefaultTreeCellRenderer.setBackgroundNonSelectionColor(Color) was used.

... (truncated)

Commits
  • 025f656 release 1.2
  • 35f9736 Native window decorations: double-click at upper-left corner of maximized fra...
  • 09e5c86 FlatLaf.getDisabledIcon() now returns a instanceof UIResource for disabled SV...
  • 8998371 Extras: FlatSVGUtils.createWindowIconImages(): return multi-resolution imag...
  • 29e1dc6 FlatTitlePaneIcon: use getResolutionVariant(width, height) instead of `getR...
  • 439e63b Native window decorations: updated DLLs (issue #283)
  • eea341f Native window decorations: fixed broken maximizing window (under special cond...
  • 359eedf Native window decorations: fixed slow application startup under particular co...
  • 866751f Extras: FlatInspector: show class hierarchies when pressing Alt key and prett...
  • 38a3a07 Tree: fill cell background if `DefaultTreeCellRenderer.setBackgroundNonSelect...
  • 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels May 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants