Karl Tauber
4af2c31dab
Eclipse code formatter: insert space in casts
2020-06-27 22:26:49 +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
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
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
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
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
Karl Tauber
03bc6eb69b
FlatTestFrame: '2.0' --> '2'
2020-05-17 18:46:21 +02:00
Karl Tauber
1aa339de02
make component outline border wider if focus width is zero
2020-05-17 17:59:26 +02:00
Karl Tauber
531bb2a968
UIDefaultsDump: dump only differences for macOS
...
(to avoid the need for updating multiple dumps when changing UI defaults)
2020-05-17 17:52:12 +02:00
Karl Tauber
800dbf3ba9
support different component border colors to indicate errors, warnings or custom state (set client property JComponent.outline to error, warning or any java.awt.Color)
2020-05-17 13:43:19 +02:00
Karl Tauber
961fe38c7e
UIDefaultsDump: dump color functions
2020-05-16 22:25:23 +02:00
Karl Tauber
a76b02b828
fixed broken FlatTestLaf.properties
2020-05-16 14:19:41 +02:00
Karl Tauber
f632c355e8
FileChooser: scale file icons (issue #100 )
2020-05-16 11:03:40 +02:00
Karl Tauber
83fdeb7e0c
ComboBox, Spinner and TextField: support round border style (set client property JComponent.roundRect to true)
2020-05-15 13:38:45 +02:00
Karl Tauber
26c77b3118
Button, ComboBox, TextField and DatePicker UI delegates now get Component.focusWidth and Button.arc/Component.arc/TextComponent.arc from component border
2020-05-15 11:32:53 +02:00
Karl Tauber
b3e0b99e8d
Button and ToggleButton: support round button style (set client property JButton.buttonType to roundRect)
2020-05-13 11:45:01 +02:00
Karl Tauber
d3a70b8bb2
CheckBox and RadioButton: Opaque flag is no longer ignored when checkbox is used as table cell renderer (issue #77 )
...
this fix replaces/improves fix made in commit 3ba8133890
2020-05-12 22:35:05 +02:00
Karl Tauber
659ead903c
TextField: avoid garbage in corners if TextComponent.arc is set to a large value
2020-05-12 18:58:17 +02:00
Karl Tauber
0a0f834f23
Drop shadows:
...
- reworked drop shadows implementation to support 4-sided shadows
- use 4-sided shadow for internal frames
- made shadows configurable in UI defaults
- made shadows dark in dark themes
(issue #94 )
2020-05-10 15:38:50 +02:00
Karl Tauber
61c2fd8794
build.gradle.kts: use MigLayout 5.3-SNAPSHOT for better scaling
...
Demo: exclude module-info.class from fat JAR
2020-05-09 15:42:18 +02:00