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.1.2 to 1.4 #45

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

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Jul 14, 2021

Bumps flatlaf from 1.1.2 to 1.4.

Release notes

Sourced from flatlaf's releases.

1.4

Change log

New features and improvements

  • TextField, FormattedTextField and PasswordField: Support adding extra padding. (set client property JTextField.padding to Insets).
  • PasswordField: UI delegate FlatPasswordFieldUI now extends FlatTextFieldUI (instead of BasicPasswordFieldUI) to avoid duplicate code and for easier extensibility.
  • Table and PopupFactory: Use StackWalker in Java 9+ for better performance. (issue #334)
  • ToolBar: Paint focus indicator for focused button in toolbar. (issue #346)
  • ToolBar: Support focusable buttons in toolbar (set UI values ToolBar.focusableButtons to true). (issue #346)

Fixed bugs

  • ComboBox (editable) and Spinner: Increased size of internal text field to the component border so that it behaves like plain text field (mouse click to left of text now positions caret to first character instead of opening ComboBox popup; mouse cursor is now of type "text" within the whole component, except for arrow buttons). (issue #330)
  • ComboBox (not editable): Increased size of internal renderer pane to the component border so that it can paint within the whole component. Also increase combo box size if a custom renderer uses a border with insets that are larger than the default combo box padding (2,6,2,6).
  • Fixed component heights at 1.25x, 1.75x and 2.25x scaling factors (Java 8 only) so that Button, ComboBox, Spinner and TextField components (including subclasses) have same heights. This increases heights of Button and TextField components by:
    • 2px at 1.75x in Light and Dark themes
    • 2px at 1.25x and 2.25x in IntelliJ and Darcula themes
  • OptionPane: Do not make child components, which are derived from JPanel, non-opaque. (issue #349)
  • OptionPane: Align wrapped lines to the right if component orientation is right-to-left. (issue #350)
  • PasswordField: Caps lock icon no longer painted over long text. (issue #172)
  • PasswordField: Paint caps lock icon on left side in right-to-left component orientation.
  • Window decorations: Window title bar width is no longer considered when calculating preferred/minimum width of window. (issue #351)

1.3

Change log

New features and improvements

  • TextComponents, ComboBox and Spinner: Support different background color when component is focused (use UI values TextField.focusedBackground, PasswordField.focusedBackground, FormattedTextField.focusedBackground, TextArea.focusedBackground, TextPane.focusedBackground, EditorPane.focusedBackground, ComboBox.focusedBackground, ComboBox.buttonFocusedBackground, ComboBox.popupBackground and Spinner.focusedBackground). (issue #335)

... (truncated)

Changelog

Sourced from flatlaf's changelog.

1.4

New features and improvements

  • TextField, FormattedTextField and PasswordField: Support adding extra padding. (set client property JTextField.padding to Insets).
  • PasswordField: UI delegate FlatPasswordFieldUI now extends FlatTextFieldUI (instead of BasicPasswordFieldUI) to avoid duplicate code and for easier extensibility.
  • Table and PopupFactory: Use StackWalker in Java 9+ for better performance. (issue #334)
  • ToolBar: Paint focus indicator for focused button in toolbar. (issue #346)
  • ToolBar: Support focusable buttons in toolbar (set UI values ToolBar.focusableButtons to true). (issue #346)

Fixed bugs

  • ComboBox (editable) and Spinner: Increased size of internal text field to the component border so that it behaves like plain text field (mouse click to left of text now positions caret to first character instead of opening ComboBox popup; mouse cursor is now of type "text" within the whole component, except for arrow buttons). (issue #330)
  • ComboBox (not editable): Increased size of internal renderer pane to the component border so that it can paint within the whole component. Also increase combo box size if a custom renderer uses a border with insets that are larger than the default combo box padding (2,6,2,6).
  • Fixed component heights at 1.25x, 1.75x and 2.25x scaling factors (Java 8 only) so that Button, ComboBox, Spinner and TextField components (including subclasses) have same heights. This increases heights of Button and TextField components by:
    • 2px at 1.75x in Light and Dark themes
    • 2px at 1.25x and 2.25x in IntelliJ and Darcula themes
  • OptionPane: Do not make child components, which are derived from JPanel, non-opaque. (issue #349)
  • OptionPane: Align wrapped lines to the right if component orientation is right-to-left. (issue #350)
  • PasswordField: Caps lock icon no longer painted over long text. (issue #172)
  • PasswordField: Paint caps lock icon on left side in right-to-left component orientation.
  • Window decorations: Window title bar width is no longer considered when calculating preferred/minimum width of window. (issue #351)

1.3

New features and improvements

  • TextComponents, ComboBox and Spinner: Support different background color when component is focused (use UI values TextField.focusedBackground, PasswordField.focusedBackground, FormattedTextField.focusedBackground,

... (truncated)

Commits
  • b0997fb release 1.4
  • 37dab9f TabbedPane: fixed rendering of tab separators in scroll layout if scaled on H...
  • fb44c8f TextField: fixed location of placeholder text if paddings are used (e.g. in C...
  • 94375b7 Extras: added support for client property JTextField.padding (for commit a9...
  • 8b585de ToolBar: support focusable buttons in toolbar (issue #346)
  • 4d8b544 UIDefaultsKeysDump: also use FlatTestLaf, which adds missing keys to FlatLafU...
  • 548d651 PasswordField: move the lower bar of the caps lock icon up a half pixel
  • 0b342ac PasswordField: paint caps lock icon on left side in right-to-left component o...
  • cc6d3c1 PasswordField: Caps lock icon no longer painted over long text (issue #172)
  • 74a748d use LoggingFacade instead of printStackTrace() in flatlaf-extras and flatlaf-...
  • 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:

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

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jul 14, 2021
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