Karl Tauber
0d91116e62
Merge branch 'origin/custom-window-decorations' into master
...
# Conflicts:
# flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/DemoFrame.java
2020-06-29 15:59:38 +02:00
Karl Tauber
a31a8a03c1
Window decorations: made most classes/methods public/protected for extending/subclassing
2020-06-29 15:45:26 +02:00
Karl Tauber
e8d5210606
Window decorations: use default icon if no icon set on window
2020-06-29 12:20:57 +02:00
Karl Tauber
7b11e29122
Button and ToggleButton: support making buttons square (issue #118 )
2020-06-29 10:49:07 +02:00
Karl Tauber
df7f693cf4
Demo: new window icon
2020-06-28 23:59:28 +02:00
Karl Tauber
14ddc2f629
Demo: use window decorations by default and added "Options > Window decorations" to menu
2020-06-28 12:12:58 +02:00
Karl Tauber
6669d0e59d
Window decorations: support enabling/disabling embedding menu bar via UI value at runtime
2020-06-28 11:34:30 +02:00
Karl Tauber
8d80176a79
IntelliJ Themes: fixed menu bar and menu item margins in all Material UI Lite themes
2020-06-28 00:28:02 +02:00
Karl Tauber
e1dc302592
IntelliJ Themes: updated themes to newest versions (used IJThemesUpdater)
2020-06-27 23:09:00 +02:00
Karl Tauber
84dbe39185
FileChooser: increase maximum row count of directory combobox popup list to 20 (was 8)
2020-06-27 22:49:22 +02:00
Karl Tauber
4af2c31dab
Eclipse code formatter: insert space in casts
2020-06-27 22:26:49 +02:00
Karl Tauber
332f05b6e1
Window decorations: allow enabling/disabling custom window decorations via system properties "flatlaf.useWindowDecorations", "flatlaf.useJetBrainsCustomDecorations" and "flatlaf.menuBarEmbedded" (all boolean)
2020-06-27 19:36:36 +02:00
Karl Tauber
8b4786ad18
added class FlatSystemProperties to define/document own system properties used in FlatLaf
2020-06-27 17:57:59 +02:00
Karl Tauber
7e8aaffb92
Window decorations:
...
- double-click on icon closes window
- after switching LaF is was not possible to move window when running in JetBrains Runtime
2020-06-26 10:49:49 +02:00
Karl Tauber
7720d42584
Window decorations: reworked/fixed initialization when running in JetBrains Runtime
2020-06-26 00:22:28 +02:00
Karl Tauber
293b76f04b
Window decorations: FlatWindowDecorationsTest: added "undecorated" checkbox
2020-06-25 17:55:42 +02:00
Karl Tauber
a1b0c0bbd4
ComboBox: increase maximum row count of popup list to 20 (was 8)
2020-06-25 17:00:10 +02:00
Karl Tauber
46d3204bc3
MenuBar:
...
- use derived colors for menu bar hover
- use derived colors for menu item selected background
- top-level JMenu now uses foreground color from parent JMenuBar
This allows changing menu bar background to dark with:
UIManager.put( "MenuBar.background", Color.DARK_GRAY );
UIManager.put( "MenuBar.foreground", Color.WHITE );
or
menuBar.setBackground( Color.DARK_GRAY );
menuBar.setForeground( Color.WHITE );
(issue #117 )
2020-06-25 11:36:36 +02:00
Karl Tauber
c25ff57b61
Button, CheckBox, RadioButton and ToggleButton: do not paint focus indicator if AbstractButton.isFocusPainted() returns false
2020-06-24 16:45:41 +02:00
Karl Tauber
71e61f8f27
made class FlatCaret public for subclassing (issue #113 )
2020-06-24 13:02:25 +02:00
Karl Tauber
6914a6132c
Button: prefer explicitly set background/foreground over focused background and "default" background/foreground (issue #116 )
2020-06-24 12:43:49 +02:00
Karl Tauber
b72916187a
Button: invoke FlatButtonUI.getForeground(c) also if component is disabled to be consistent with getBackground(c)
2020-06-23 12:45:25 +02:00
Karl Tauber
7c9bbe6aef
Merge branch 'master' into branch 'custom-window-decorations'
2020-06-23 11:11:14 +02:00
Karl Tauber
27eeb0a636
Demo: use uppercase leading characters
2020-06-22 23:35:56 +02:00
Karl Tauber
cf436962f8
fixed/improved vertical position of HTML text when scaled on HiDPI screens on Windows
2020-06-22 23:31:01 +02:00
Karl Tauber
7fb7a1ac85
fixed/improved vertical position of text when scaled on HiDPI screens on Windows when running on Java 8
2020-06-22 21:05:11 +02:00
Karl Tauber
15a714faed
fixed/improved vertical position of text when scaled on HiDPI screens on Windows when running on Java 9 or later
2020-06-22 13:45:56 +02:00
Karl Tauber
ea2412d3a7
Improved subclassing:
...
- reviewed all private methods and made them protected/public where it might be useful for subclasses
- ComboBox and Spinner: added protected getBackground() and getForeground() methods to allow subclasses to change colors
- TabbedPane: moved tab separator painting to own method
(issue #113 )
2020-06-20 10:46:56 +02:00
Karl Tauber
40321856f2
Testing: updated 3rd party Lafs
2020-06-19 19:49:26 +02:00
Karl Tauber
262ae7865b
ComboBox and Spinner: support changing arrow button style (issue #114 )
2020-06-19 18:12:23 +02:00
Karl Tauber
84cc86bef7
CheckBox and RadioButton: support changing selected icon style from outline to filled
...
renamed CheckBox.icon.focusedColor to CheckBox.icon.focusColor
2020-06-19 15:36:49 +02:00
Karl Tauber
1ba27730d6
UIDefaultsDump: fixed order of removed values in diff dumps
2020-06-19 13:38:25 +02:00
Karl Tauber
6568cee2e8
UIDefaultsDump: dump IntelliJ and Darcula themes (as differences to Light/dark themes; Windows only)
2020-06-18 20:29:40 +02:00
Karl Tauber
5496a60f62
CheckBox: reordered icon colors (grouped by state) to make it easier to maintain
...
(nothing else changed)
2020-06-18 18:09:32 +02:00
Karl Tauber
5c7378cf94
Button and ToggleButton: paint disabled background by default (issue #112 )
2020-06-18 12:02:02 +02:00
Karl Tauber
fe15f44e96
ScrollBar: support pressed track, thumb and button colors (issue #115 )
2020-06-18 11:04:38 +02:00
Karl Tauber
273d762cd3
ScrollBar: avoid continuous repainting scrollbar when moving mouse pointer over track and ScrollBar.hoverThumbWithTrack is enabled (regression in fd208a3879)
2020-06-17 23:53:06 +02:00
Karl Tauber
211030b5b6
TableHeader: support top/bottom/left positioned sort arrow when using Glazed Lists (issue #113 )
2020-06-16 18:52:59 +02:00
Karl Tauber
212c553904
Testing: added class FlatGlazedListsTest for testing Glazed Lists ( https://github.com/glazedlists/glazedlists ) table sorting (issue #113 )
2020-06-16 16:48:00 +02:00
Karl Tauber
dffe4f4451
Button and ToggleButton: support disabled background color (issue #112 )
2020-06-15 23:34:21 +02:00
Karl Tauber
fd99af5fe6
added Java code style formatter profile 'FlatLaf' for Eclipse projects ( #71 )
2020-06-10 00:25:19 +02:00
Karl Tauber
aee539bbef
CHANGELOG.md: added missing change to scrollbars on macOS and Linux
2020-06-09 18:25:56 +02:00
Karl Tauber
e7cdc9cf8c
release 0.36
0.36
2020-06-09 12:33:27 +02:00
Karl Tauber
2443547b3b
FlatTestFrame: removed no longer needed nested JRootPane (was used for UI inspector)
2020-06-08 16:03:04 +02:00
Karl Tauber
8424300b5f
Demo: faster repainting when enabling/disabling components
2020-06-08 15:58:52 +02:00
Karl Tauber
81822cf7f6
Demo: added UI inspector
2020-06-08 15:45:19 +02:00
Karl Tauber
907956994f
Extras: FlatInspector:
...
- do not increase inspection level when activated with keyboard shortcut
- added some javadoc
- added to CHANGELOG.md and flatlaf-extras/README.md
2020-06-08 15:44:52 +02:00
Karl Tauber
9246cc0607
Extras: added FlatInspector (moved from flatlaf-testing)
2020-06-08 15:03:34 +02:00
Karl Tauber
9f81d147d1
Demo on macOS: enabled screen menu bar by default, except if explicitly disabled
2020-06-08 14:29:47 +02:00
Karl Tauber
b9bd26b2fb
FlatSVGIcon: support mapping custom colors
2020-06-08 14:11:06 +02:00