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
8914cf78a1
Typography: Theme Editor: added h1.regular, h2.regular and h3.regular to preview
2021-11-19 11:37:46 +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
f80d2bacf4
Typography: use light and semibold in FlatTypographyTest
2021-11-17 19:39:51 +01:00
Karl Tauber
5df3717d94
Typography: added "Material Design 3" to FlatTypographyTest
2021-11-17 00:25:38 +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
6c0b122fbc
release 1.6.4
1.6.4
2021-11-16 15:37:19 +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
f0275192c6
Demo: added "Options > Show window title bar icon" to menu
2021-11-16 11:08:04 +01:00
Karl Tauber
df905a1d73
Demo: made hint popups look nicer (balloon with arrow and shadow)
2021-11-16 10:49:53 +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
Karl Tauber
005c9f471e
Window decorations:
...
- option to hide window icon (via client property or UI default)
- no longer show the Java "duke/cup" icon if no window icon image is set (issue #416 )
2021-11-15 01:00:10 +01:00
Karl Tauber
b40532a830
UI defaults inspector: fixed color value renderer for some 3rd party Lafs
2021-11-15 00:59:13 +01:00
Karl Tauber
fc7a4408e9
FlatWindowDecorationsTest: update decoration style radio buttons from window
2021-11-15 00:35:19 +01:00
Karl Tauber
93b5f0081d
Window decorations: reduced number of FlatTitlePane.updateNativeTitleBarHeightAndHitTestSpots() invokations
2021-11-15 00:24:56 +01:00
Karl Tauber
ce049ea3ee
Window decorations: fixed exception in SwingUtilities.convertPoint() when doing new JDialog( (Window) null )
...
regression since commits 54e6cefa67 and
fb37be5734
2021-11-15 00:20:04 +01:00
Karl Tauber
fcc39b2db5
Merge branch 'release-1.6.3' into main
...
# Conflicts:
# CHANGELOG.md
# flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatTreeUI.java
2021-11-14 23:23:29 +01:00
Karl Tauber
cb70fb4e82
GitHub Actions: run Gradle wrapper validation only once
...
(to reduce risk of connection timeout)
1.6.3
2021-11-14 23:06:23 +01:00
Karl Tauber
2593a43d72
release 1.6.3
2021-11-14 22:42:10 +01:00
Karl Tauber
e44ff5b72a
Tree: Fixed editing cell issue with custom cell renderer and cell editor that use same component for rendering and editing ( fixes #385 )
...
(cherry picked from commit 161ee090a8 )
2021-11-14 22:34:28 +01:00
Karl Tauber
22cb1b50a6
ComboBox (not editable): fixed regression that may display text in non-editable combo boxes in bold (issue #423 )
...
fixes commits 02f3239669
and 0b6df8be1c
2021-11-14 22:11:19 +01:00
Karl Tauber
a42c413705
Testing: added modular app
2021-11-12 17:28:04 +01:00
Karl Tauber
d59d38dc7c
added method FlatLaf.registerCustomDefaultsSource(URL packageUrl) for JPMS (issue #325 )
2021-11-12 17:00:26 +01:00
Karl Tauber
77582be7fd
Demo: fixed exception if hint is shown and switching to a non-FlatLaf L&F
2021-11-12 11:39:33 +01:00
Karl Tauber
0cb50355b7
added hint to FlatLaf.registerCustomDefaultsSource() javadoc that the package must be opened in module-info.java (issue #325 )
2021-11-12 11:16:53 +01:00
Karl Tauber
a2d66e91ff
Extras: FlatSVGIcon and FlatSVGUtils: use soft cache for SVG diagrams to allow freeing memory if no longer used
2021-11-12 10:49:02 +01:00
Karl Tauber
ccdb981917
refactored private class UIDefaultsLoader.Cache to public class SoftCache and implement the Map interface
2021-11-12 10:12:34 +01:00
Karl Tauber
d80b581ace
Extras: FlatSVGUtils: support loading SVG from URL (for JPMS) (issue #325 )
2021-11-12 09:28:24 +01:00
Karl Tauber
53efb6711d
Extras: FlatSVGIcon: support loading SVG from URL (for JPMS), URI, File or InputStream (issues #419 and #325 )
...
also improved error handling and javadoc
2021-11-12 09:27:04 +01:00
Karl Tauber
1de6e875f9
Merge branch 'release-1.6.2' into main
...
# Conflicts:
# CHANGELOG.md
2021-11-11 13:05:33 +01:00
Karl Tauber
95a15c3cf8
release 1.6.2
1.6.2
2021-11-11 12:45:50 +01:00
Karl Tauber
ab320684f5
Native window decorations: fixed layout loop (issue #420 )
...
(cherry picked from commit d3355eda65 )
2021-11-11 12:35:51 +01:00
Karl Tauber
a284b69a1e
FileChooser: workaround for crash on Windows with Java 17 32bit (issue #403 )
...
(cherry picked from commits 44d8545c09 and 33b25c1129 )
2021-11-11 12:35:16 +01:00
Karl Tauber
b590f41254
Linux: fixed NPE when using java.awt.TrayIcon (issue #405 )
...
(cherry picked from commit 16a769ea61 )
2021-11-11 12:31:14 +01:00
Karl Tauber
a97076ead5
ComboBox: fix NPE in CellPaddingBorder.install() (issue #408 )
...
(cherry picked from commit d48b98f582 )
2021-11-11 12:30:10 +01:00
Karl Tauber
0b6df8be1c
ComboBox (not editable): fixed background painted outside of border if round edges are enabled (similar to issue #382 ; regression since fixing #330 in FlatLaf 1.4)
...
(cherry picked from commit 02f3239669 )
2021-11-11 12:26:09 +01:00
Karl Tauber
150bab0b57
Table: do not select text in cell editor when it gets focus (when JTable.surrendersFocusOnKeystroke is true) and TextComponent.selectAllOnFocusPolicy is once (the default) or always (issue #395 )
...
(cherry picked from commit f8b9f4c1fa )
2021-11-11 12:19:58 +01:00
Karl Tauber
d3355eda65
Native window decorations: fixed layout loop (issue #420 )
2021-11-11 11:49:39 +01:00
Karl Tauber
fbf10e553d
Native window decorations: updated DLLs (issues #397 and #407 )
...
built by GitHub Actions:
https://github.com/JFormDesigner/FlatLaf/actions/runs/1440605430
2021-11-09 18:35:55 +01:00
Karl Tauber
fb37be5734
Native window decorations: show (system) tooltips for minimize/maximize/close buttons on Windows 10 and for minimize/close buttons on Windows 11 (issues #397 and #407 )
2021-11-09 18:21:17 +01:00
Karl Tauber
54e6cefa67
Native window decorations: show Windows 11 snap layouts menu when hovering the mouse over the maximize button (issues #397 and #407 )
2021-11-09 15:36:21 +01:00