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
4af2c31dab
Eclipse code formatter: insert space in casts
2020-06-27 22:26:49 +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
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
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
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
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
fd99af5fe6
added Java code style formatter profile 'FlatLaf' for Eclipse projects ( #71 )
2020-06-10 00:25:19 +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
9246cc0607
Extras: added FlatInspector (moved from flatlaf-testing)
2020-06-08 15:03:34 +02:00
Karl Tauber
ff55cc1a2a
Window decorations: do not overwrite maximized bounds if controlled from the application
2020-06-07 11:57:05 +02:00
Karl Tauber
732ca8be56
FlatLaf.isLafDark() added
2020-06-06 22:00:54 +02:00
Karl Tauber
1381a34752
FlatInspector: ignore FlatWindowResizer
2020-06-06 15:38:22 +02:00
Karl Tauber
8e77eb0519
Window decorations: support resizing window (issues #47 and #82 )
2020-06-06 12:20:33 +02:00
Karl Tauber
1fffc67d13
Window decorations: added border (issues #47 and #82 )
2020-06-02 17:49:30 +02:00
Karl Tauber
8500781cd5
Merge branch 'master' into branch 'custom-window-decorations'
...
# Conflicts:
# flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatRootPaneUI.java
2020-06-02 16:13:35 +02:00
Karl Tauber
6a8bf2acc5
FlatInspector: fixed highlight figure bounds of windows; limit used inspection level to existing components
2020-06-02 16:07:11 +02:00
Karl Tauber
99c99b9218
Window decorations: support embedding menu bar into title pane (enabled by default) (issues #47 and #82 )
2020-05-31 14:10:58 +02:00
Karl Tauber
14ec6f6471
FlatInspector: increase/decrease inspection level with Ctrl/Shift keys
2020-05-30 17:35:54 +02:00
Karl Tauber
c4a1341aa9
FlatInspector:
...
- support ending inspection with ESC key
- inspect component at current mouse location when enabling inspector
2020-05-30 16:53:20 +02:00
Karl Tauber
fc68dfd7bc
FlatInspector: support inspecting whole window including menubar and custom window decoration
2020-05-30 15:19:07 +02:00
Karl Tauber
a560be11ed
InternalFrame: renamed FlatInternalFrameMinimizeIcon to FlatInternalFrameRestoreIcon; added some missing @uiDefault to internal frame icons
2020-05-28 11:50:34 +02:00
Karl Tauber
506a1e6b62
Window decorations: iconify/maximize/restore/close button icons in Windows 10 style (issues #47 and #82 )
2020-05-28 11:35:30 +02:00
Karl Tauber
626601f6aa
Window decorations: added window icon (issues #47 and #82 )
2020-05-27 11:40:41 +02:00
Karl Tauber
9ad32125c0
Window decorations: initial implementation (incomplete) (issues #47 and #82 )
...
TODO
- move window
- resize window
- window icon
- window border
2020-05-26 23:35:05 +02:00
Karl Tauber
5cef1f6730
Testing: added font size spinner to control bar; also support Ctrl+0, Ctrl++ and Ctrl+- to change font size
2020-05-24 15:26:07 +02:00
Karl Tauber
0abfb5922a
ComboBox: minimum width is now 72 pixels (was ~50 for non-editable and ~130 for editable comboboxes)
2020-05-23 22:25:18 +02:00
Karl Tauber
d2d4f73834
ScrollBar: use derived colors for track and thumb (issue #103 )
2020-05-23 16:40:09 +02:00
Karl Tauber
08c439b46e
ScrollBar: use rounded thumb on macOS (issue #103 )
2020-05-23 13:58:05 +02:00
Karl Tauber
934eb9fc1d
ScrollBar: use rounded thumb on Linux (issue #103 )
2020-05-23 13:51:25 +02:00
Karl Tauber
fd208a3879
ScrollBar: made styling more flexible by supporting insets and arc for track and thumb (issue #103 )
2020-05-23 13:32:31 +02:00
Karl Tauber
b36ac1b824
UI defaults: added GTKLookAndFeel dump made on Fedora 31 (Adweita theme)
2020-05-21 18:38:46 +02:00
Karl Tauber
2a0403a988
support CompoundBorder as component border with FlatBorder on the outside
2020-05-19 23:24:00 +02:00
Karl Tauber
f1c08e7769
FlatTestFrame: added Substance Business skin for testing light UI
2020-05-19 18:42:22 +02:00
Karl Tauber
571f028ca3
FlatComponentsTest: moved components that change something into own "control" panel
2020-05-19 11:31:52 +02:00
Karl Tauber
c11222b5c7
FlatHtmlTest: added more HTML samples
2020-05-17 22:50:40 +02:00