zpiddock / BaldursGate3

This module enables support for Baldur's Gate3
MIT License
8 stars 1 forks source link

Bump flatlaf from 1.0 to 1.1 #22

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Bumps flatlaf from 1.0 to 1.1.

Release notes

Sourced from flatlaf's releases.

1.1

Highlights

This release comes with fantastic news for Windows 10 users/developers.

Native window decorations on Windows 10

This enables dark frame/dialog title bar and embedded menu bar with all JREs while still having:

  • native Window 10 border drop shadows
  • native Window 10 resize functionality
  • Windows 10 snapping functionality
  • native Windows 10 system window menu when right-clicking on title bar or left-clicking on application icon

image

image

This feature is enabled by default on Windows 10.

If you don't like/want it, you can disable it with:

UIManager.put( "TitlePane.useWindowDecorations", false );

It is also possible to disable only the embedded menu bar (and keep the dark title pane) with:

UIManager.put( "TitlePane.menuBarEmbedded", false );

It is also possible to disable this on command line with following VM options:

-Dflatlaf.useWindowDecorations=false
-Dflatlaf.menuBarEmbedded=false

If you have following code in your app, you can remove it (no longer necessary):

// enable window decorations
JFrame.setDefaultLookAndFeelDecorated( true );
JDialog.setDefaultLookAndFeelDecorated( true );

Right aligned components in title pane with embedded menu bar on Windows 10

A usual way to add a component to the right side of the menu bar is to first add a horizontal glue component (Box.createHorizontalGlue()) and then the own component. In a non-embedded menu bar it looks like this:

image

This now also works for embedded menu bars:

... (truncated)

Changelog

Sourced from flatlaf's changelog.

1.1

New features and improvements

  • Windows 10 only:
    • Native window decorations for Windows 10 enables dark frame/dialog title bar and embedded menu bar with all JREs, while still having native Windows 10 border drop shadows, resize behavior, window snapping and system window menu. (PR #267)
    • Custom window decorations: Support right aligned components in JFrame title bar with embedded menu bar (using Box.createHorizontalGlue()). (PR #268)
    • Custom window decorations: Improved centering of window title with embedded menu bar. (PR #268; issue #252)
    • Custom window decorations: Support unified backgrounds for window title bar, menu bar and main content. If enabled with UIManager.put( "TitlePane.unifiedBackground", true ); then window title bar and menu bar use same background color as main content. (PR #268; issue #254)
  • JIDE Common Layer: Support JideButton, JideLabel, JideSplitButton, JideToggleButton and JideToggleSplitButton.
  • JIDE Common Layer: The library on Maven Central no longer depends on com.jidesoft:jide-oss:3.6.18 to avoid problems when another JIDE library should be used. (issue #270)
  • SwingX: The library on Maven Central no longer depends on org.swinglabs.swingx:swingx-all:1.6.5-1 to avoid problems when another SwingX library should be used.
  • Support running in JetBrains Projector.

Fixed bugs

  • IntelliJ Themes: Fixed text color of CheckBoxMenuItem and RadioButtonMenuItem in all "Arc" themes. (issue #259)
Commits
  • 9612a81 release 1.1
  • 2945a36 added since 1.1
  • b84dc5b JIDE and SwingX: README.md: added links to dependencies on maven central
  • 60486fd JIDE: build using latest version of JIDE library com.formdev:jide-oss:3.7.11.1
  • 891091c SwingX: fixed compiling module-info (broken since previous commit)
  • 1493ddc SwingX: the library on Maven Central no longer depends on `org.swinglabs.swin...
  • 4299c50 JIDE: the library on Maven Central no longer depends on `com.jidesoft:jide-os...
  • 14577c3 JIDE: fixed hover/selection background colors of JideSplitButton and `JideS...
  • e9b5662 JIDE: support JideSplitButton and JideSplitToggleButton
  • d39b08c FlatArrowButton: refactored arrow painting to FlatUIUtils.paintArrow() so tha...
  • 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.

If all status checks pass Dependabot will automatically merge this pull request.


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 use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)

⚠️ Dependabot won't automerge this PR as it didn't detect CI on it ⚠️

You have automerging enabled for this repo but Dependabot didn't detect any CI statuses or checks. You can disable automerging on this repo from here.