Commit Graph

290 Commits

Author SHA1 Message Date
Karl Tauber
95d6d68629 ComboBox: fixed vertical text alignment (with other components) and component height (when scaled) 2019-09-25 11:33:20 +02:00
Karl Tauber
d3ada57a50 UI inspector: show EmptyBorder insets 2019-09-25 11:17:17 +02:00
Karl Tauber
c782ed8adc UI inspector: show JMenuBar margins 2019-09-25 09:11:07 +02:00
Karl Tauber
c5ab5d636e added simple UI inspector to FlatTestFrame 2019-09-23 10:48:41 +02:00
Karl Tauber
e004401772 multi-line ToolTip 2019-09-21 18:12:58 +02:00
Karl Tauber
91f304054e Demo: support dark SVG icons 2019-09-18 13:20:07 +02:00
Karl Tauber
c4e0ef198f CheckBox: fixed background arc of checkmark 2019-09-18 11:53:00 +02:00
Karl Tauber
673dd67d41 update to Gradle 5.6.2
./gradlew wrapper --gradle-version=5.6.2
2019-09-16 09:53:18 +02:00
Karl Tauber
90af8c0ce8 Menus: scale defaultTextIconGap again if iconTextGap property has changed 2019-09-15 23:50:45 +02:00
Karl Tauber
b4b914de52 Label: scale iconTextGap 2019-09-15 23:14:30 +02:00
Karl Tauber
89b6a4e453 CheckBox and RadioButton: the icon size no longer includes the focusWidth and paints the outline focus border outside of the icon; this change makes sure that the check/radio icons are painted at the same position independent of the focusWidth 2019-09-15 23:05:15 +02:00
Karl Tauber
eff9c50571 Buttons: made iconTextGap configurable in properties files and scale it 2019-09-15 22:25:49 +02:00
Karl Tauber
bf03f57055 CheckBox and RadioButton: no longer extend Metal UI delegates 2019-09-15 18:59:08 +02:00
Karl Tauber
e7d1522434 FlatLaf: use constant for optional prefix 2019-09-15 16:57:09 +02:00
Karl Tauber
60d493d4ce Demo: improved layout of tabbed pane options 2019-09-15 16:55:27 +02:00
Karl Tauber
87e20375f0 Demo: added insets to ControlBar to avoid clipping of outline focus border 2019-09-15 11:32:45 +02:00
Karl Tauber
f939654309 Demo: OptionPanePanel: use EmptyBorder instead of null-border to make sure that it is not replaces when switching LaF 2019-09-15 11:23:08 +02:00
Karl Tauber
0015a48ceb SystemInfo: support larger maximum version numbers (was 255; now ‭65535‬) 2019-09-14 22:51:42 +02:00
Karl Tauber
af3367a119 Demo: register F9 key for Mac Aqua LaF; changed Fx keys for Metal and Nimbus 2019-09-14 22:36:51 +02:00
Karl Tauber
f7c8028243 List: fixed endless repainting if table is not focused 2019-09-14 22:19:42 +02:00
Karl Tauber
76f80b6bdf Table: fixed endless repainting if table is not focused 2019-09-14 22:18:17 +02:00
Karl Tauber
a09592cb0d Table: fixed wrong UI defaults 2019-09-14 21:40:39 +02:00
Karl Tauber
7aaf700d34 get UI defaults in shared instances only once (same as used in e.g. MetalRadioButtonUI)
Note: this optimization does not work when switching from one Flat LaF to another Flat LaF because UI uninstall/install is done per component
2019-09-14 21:23:33 +02:00
Karl Tauber
d8a9e3e3f0 support MigLayout visualPadding 2019-09-14 21:22:08 +02:00
Karl Tauber
938244e3cf Mac: default button should not follow focus 2019-09-13 23:57:13 +02:00
Karl Tauber
4c3f45a786 Spinner: hide editor border on Mac 2019-09-13 23:40:24 +02:00
Karl Tauber
9367e082a8 PasswordField: use other echoChar on Mac because the default is too large in SF font 2019-09-13 23:33:39 +02:00
Karl Tauber
1050acbb95 Mac: fixed margins and rollover 2019-09-13 23:31:19 +02:00
Karl Tauber
627cf1260f Mac: use Aqua as base LaF; initialize font to San Francisco 2019-09-13 23:10:26 +02:00
Karl Tauber
0acd633d3d List: use same mechanism as in FlatTableUI for inactive selection background/foreground 2019-09-13 15:37:06 +02:00
Karl Tauber
1cd30d42ad List: reduce painted cell width to preferred width in JFileChooser 2019-09-13 15:31:51 +02:00
Karl Tauber
b5dd25be5c Table: use inactive selection background/foreground if table is not focused 2019-09-13 15:23:58 +02:00
Karl Tauber
995a71e87b Tree: use inactive selection background/foreground if tree is not focused 2019-09-13 14:33:55 +02:00
Karl Tauber
09d84a12ae List: use inactive selection background/foreground if list is not focused 2019-09-13 14:32:50 +02:00
Karl Tauber
f61782d87f Table and Tree: show focus border (at scroll pane) even if in editing mode 2019-09-13 10:35:36 +02:00
Karl Tauber
690f12caf4 optimized FlatUIUtils.paintOutlineBorder() by using Rectangle2D if arc <= 0 2019-09-13 09:39:42 +02:00
Karl Tauber
da8e7ee2d3 Spinner: no longer use focusedColor for hover 2019-09-13 00:17:26 +02:00
Karl Tauber
dee1f77c51 HelpButton: support hover, pressed and focused backgrounds and borders 2019-09-13 00:04:10 +02:00
Karl Tauber
5eabcef795 CheckBox and RadioButton: support hover, pressed and focused backgrounds and borders 2019-09-12 23:36:45 +02:00
Karl Tauber
c7ca3c5f9a Button: use FlatButtonUI.buttonStateColor() in button border 2019-09-12 19:14:19 +02:00
Karl Tauber
12ee41b443 ToggleButton: support pressed background 2019-09-12 19:11:16 +02:00
Karl Tauber
ce4e488529 Button: support hover, pressed and focused backgrounds 2019-09-12 12:56:26 +02:00
Karl Tauber
02de416830 Demo: removed ToggleButton because this kind of button should only used in toolbars 2019-09-12 12:10:00 +02:00
Karl Tauber
2acfe2e834 ComboBox and Spinner: hover support 2019-09-11 23:56:59 +02:00
Karl Tauber
c2cf85b0e2 fixed NPE when variable not found 2019-09-11 23:32:49 +02:00
Karl Tauber
8604f51add Button: replaced gradient border with single-color border 2019-09-11 17:57:26 +02:00
Karl Tauber
362c4f935b ScrollBar: preserve hover highlight while dragging even if mouse moves outside of scrollbar 2019-09-11 14:40:13 +02:00
Karl Tauber
3505d2dfd5 ScrollBar: hover support 2019-09-11 14:00:33 +02:00
Karl Tauber
78d94885c5 Slider: hover support 2019-09-11 13:02:33 +02:00
Karl Tauber
c02c6ae36e support variables that use variables
(fixed selected text color in text field if all text is selected in dark theme)
2019-09-11 11:16:16 +02:00