Karl Tauber
cae02d31db
IntelliJ Themes: updated themes to newest versions (used IJThemesUpdater)
2021-12-16 00:51:03 +01:00
Karl Tauber
96c78cbc16
ComboBox: fixed wrong popup border when using in theme editor preview
2021-12-15 23:39:16 +01:00
Karl Tauber
f8c769644d
SwingX: fixed NullPointerException in FlatCaret when using org.jdesktop.swingx.prompt.PromptSupport.setPrompt() on a text field and then switching theme
2021-12-15 11:37:35 +01:00
Karl Tauber
0bd1e413b0
Native window decorations: fixed UnsatisfiedLinkError on Windows 11 for ARM processors (issue #443 )
2021-12-15 00:49:08 +01:00
Karl Tauber
07c9ad484a
MenuBar: do not fill background if non-opaque and having custom background color (issue #409 )
2021-12-15 00:29:37 +01:00
Karl Tauber
5fd5b1206e
InternalFrame: fill background to avoid that parent may shine through internal frame if it contains non-opaque components (better fix for issue #274 )
2021-12-15 00:27:20 +01:00
Karl Tauber
12b7389376
TextField: added "clear" callback
2021-12-14 11:28:03 +01:00
Karl Tauber
02a9d4e31d
PasswordField: support "reveal" button to show password (issue #173 )
2021-12-14 01:09:21 +01:00
Karl Tauber
a4377e81cb
TextField: support "clear" (or "cancel") button to empty text field
2021-12-13 22:10:21 +01:00
Karl Tauber
8d2ed3faf6
Merge PR #386 : TextField: leading and trailing components
2021-12-13 17:50:38 +01:00
Karl Tauber
e7dacb8fef
Unit tests: (temporary) disable testing scaled UI until it is clear why it fails now on GitHub Actions (but worked yesterday)
2021-12-13 17:45:46 +01:00
Karl Tauber
60e2ffac5f
Demo: added text field leading/trailing components example
2021-12-13 17:27:36 +01:00
Karl Tauber
73c37b2018
Search/clear icons: option to ignore button state (hover/pressed) for usage where button background changes color on hover/pressed
2021-12-13 00:47:23 +01:00
Karl Tauber
1b3cc223da
TextField: added styles for buttons and toolbars in leading and trailing components (smaller margins/insets, better hover/pressed/selected colors)
2021-12-12 18:43:29 +01:00
Karl Tauber
51be7ad832
TextField: require JComponent for leading and trailing components (to allow setting a style class client property)
2021-12-12 00:50:56 +01:00
Karl Tauber
f93d035e4e
TextField: support leading and trailing components
2021-12-11 14:29:56 +01:00
Karl Tauber
bbf2331766
ComboBox and Spinner: made buttonBackground optional
2021-12-11 12:19:10 +01:00
Karl Tauber
2164bd363b
Styling: MenuItem: support styling acceleratorFont
...
Theme Editor:
- support font keys in auto-completion
- ignore Menu.acceleratorFont, CheckBoxMenuItem.acceleratorFont and RadioButtonMenuItem.acceleratorFont because they are never used (keep UI values for backward compatibility)
2021-12-11 11:39:31 +01:00
Karl Tauber
6205e18c45
Styling: FlatMenuItemArrowIcon no longer extends FlatMenuArrowIcon because it does not paint anything and therefore should not inherit styling properties from FlatMenuArrowIcon
2021-12-11 01:06:23 +01:00
Karl Tauber
959b3e46fa
Styling: fixes and added missing @since tags
2021-12-11 00:50:05 +01:00
Karl Tauber
09d8d09aad
Theme Editor: Preview: support usage of variables in styles
2021-12-10 23:14:19 +01:00
Karl Tauber
600e0f3d67
Panel: support painting background with rounded corners (issue #367 )
...
FlatLineBorder: support rounded corners
2021-12-10 22:40:17 +01:00
Karl Tauber
023e356057
MenuItem: vertically align text if icons have different widths (issue #437 )
2021-12-08 11:45:17 +01:00
Karl Tauber
e52e72c5a8
Merge PR #415 : MenuItem: paint the selected icon when the item is selected
2021-12-07 22:52:25 +01:00
Karl Tauber
802dd08ce7
MenuItem: use isArmedOrSelected() instead of MenuSelectionManager to detect selected item
2021-12-07 22:46:39 +01:00
Karl Tauber
405e3df1f0
Merge remote-tracking branch 'origin/develop-1.x' into main
...
# Conflicts:
# CHANGELOG.md
2021-12-07 16:05:31 +01:00
Karl Tauber
f7126d154f
Window decorations: left indent was lost when icon is hidden and switching Laf (regression in commit 005c9f471e6bc3ea5d708a08e8fb0b087b2c3382; PR #429 )
2021-12-07 16:00:38 +01:00
Karl Tauber
f61a7288eb
fixed updating (embedded) menu bar layout when window is narrow and changing TitlePane.menuBarEmbedded
2021-12-07 11:52:33 +01:00
Karl Tauber
47a1122f04
Window decorations: do not exit application with UnsatisfiedLinkError in case that FlatLaf DLL cannot be executed because of restrictions on temporary directory (issue #436 )
2021-12-07 00:39:28 +01:00
Karl Tauber
e1bfabbce5
macOS: fixed NullPointerException when using AWT component java.awt.Choice (issue #439 )
2021-12-06 22:45:24 +01:00
Karl Tauber
7f4efaf0a3
ComboBox: fixed occasional StackOverflowError when modifying combo box not on AWT thread (issue #432 )
2021-12-06 17:15:37 +01:00
Karl Tauber
269eb0ba29
MenuItem: changed accelerator delimiter from - to + (Windows and Linux)
2021-12-04 12:15:53 +01:00
Karl Tauber
428c6b7813
Styling: comment fixes
2021-11-30 18:37:03 +01:00
Karl Tauber
db2452a4ec
Styling: support Panel
2021-11-30 18:36:48 +01:00
Karl Tauber
7dac3825d7
Linux: Fixed font problems when running on Oracle Java 8 (OpenJDK 8 is not affected):
...
- oversized text if system font is "Inter" (issue #427 )
- missing text if system font is "Cantarell" (on Fedora)
2021-11-24 10:47:58 +01:00
Karl Tauber
7c99872278
Typography:
...
- fixed semibold font on Ubuntu
- use font "Montserrat SemiBold" on Fedora
(PR #396 )
2021-11-24 10:37:48 +01:00
Karl Tauber
13a6b92e47
Merge PR #429 : Window title bar improvements (Windows 10/11 only)
2021-11-19 18:01:34 +01:00
Karl Tauber
9ba008002b
Merge PR #396 : Typography
2021-11-19 14:57:36 +01:00
Karl Tauber
d360375b4f
Typography:
...
- use semibold for `h1`, `h2` and `h3`
- added `h1.regular`, `h2.regular` and `h3.regular`
2021-11-19 11:13:32 +01:00
Karl Tauber
1caab194af
TabbedPane:
...
- added styling support for properties added in PR #343
- updated change log
2021-11-18 18:01:07 +01:00
Karl Tauber
31754eba5d
Merge PR #343 : New tabbed pane active tab border painting style
2021-11-18 17:27:23 +01:00
Karl Tauber
3cfa16b8b7
TabbedPane: completed review of PR #343 (active tab border painting style)
...
- replaced `activeTabBorder` with `tabType`
- added `TabbedPane.cardTabSelectionHeight`
2021-11-18 16:47:21 +01:00
Karl Tauber
68897f04a2
Typography: removed thin font/style because
...
- there is no thin font available on Windows
- previously used "Segoe UI Light" for `thin.font` and "Segoe UI Semilight" for `light.font`, but "Segoe UI Semilight" is too close to regular font so that it is better to use "Segoe UI Light" for `light.font` and drop `thin.font`
- the usefulness of having thin font in addition to light font is low
on macOS use "HelveticaNeue-Thin" for `light.font` (instead of "HelveticaNeue-Light")
2021-11-17 00:23:54 +01:00
Karl Tauber
4cb6aeae36
OptionPane: hide window icon by default; can be shown via UI default OptionPane.showIcon = true (issue #416 )
2021-11-16 21:20:01 +01:00
Karl Tauber
0a765a35bf
Merge remote-tracking branch 'origin/release-1.6.4' into main
...
# Conflicts:
# CHANGELOG.md
2021-11-16 15:52:15 +01:00
Karl Tauber
4da2bd90cb
ComboBox: fixed regression in FlatLaf 1.6.3 that makes selected item invisible in popup list if DefaultListCellRenderer is used as renderer (issue #426 )
2021-11-16 15:36:14 +01:00
Karl Tauber
ad8ad06f44
Window decorations: FlatTitlePane: fixed size of hit test spot on right side of menu bar if it contains a glue and a stretching component (e.g. progress bar)
...
removed HIT_TEST_SPOT_GROW because it is no longer necessary since commit 54e6cefa67
2021-11-15 20:43:25 +01:00
Karl Tauber
d6b9e2df62
RootPane: give the root pane useful background, foreground and font
...
(fixes wrong background in title bar and menu bar when switching from Nimbus to FlatLaf)
2021-11-15 16:58:44 +01:00
Karl Tauber
5c9b36556f
Window decorations: FlatMenuBarBorder: use same conditions for bottom separator painting as for menu bar background painting (fixes/improves previous commit)
2021-11-15 01:00:10 +01:00
Karl Tauber
80a8348a99
Window decorations:
...
- enabled `TitlePane.unifiedBackground` by default (because seems to be standard on Windows 11)
- no longer paint a bottom separator for the menu bar (if unified background is enabled)
2021-11-15 01:00:10 +01:00