Commit Graph

1459 Commits

Author SHA1 Message Date
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
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
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
Karl Tauber
7db9ef3adc Spinner: apply minimum width of 64px 2019-09-11 10:21:47 +02:00
Karl Tauber
551cc1d76b TextField, TextArea, TextPane and EditorPane: apply minimum width of 64px 2019-09-11 10:17:07 +02:00
Karl Tauber
1ecafa5f2d Button: apply minimum button width of 72px 2019-09-11 10:09:05 +02:00
Karl Tauber
b517f64884 HelpButton added 2019-09-10 23:46:48 +02:00
Karl Tauber
daf026f8c7 Tree: updated SVG icons 2019-09-09 18:09:01 +02:00
Karl Tauber
2a840b65c4 use FlatUIUtils.createPath() in painting 2019-09-09 18:06:44 +02:00
Karl Tauber
3a9df2487c removed Path2D.WIND_EVEN_ODD where not necessary 2019-09-09 17:42:35 +02:00
Karl Tauber
030528764a FileChooser: swapped detailsView and listView 2019-09-09 17:31:56 +02:00
Karl Tauber
d51d79c2ad FileChooser: directoryIcon, fileIcon, computerIcon, hardDriveIcon and floppyDriveIcon added 2019-09-09 17:28:02 +02:00
Karl Tauber
07b26fb548 Tree: use FlatUIUtils.createPath() in icon painting 2019-09-09 16:00:14 +02:00
Karl Tauber
3fcad9637e FileChooser: newFolderIcon, upFolderIcon, homeFolderIcon, detailsViewIcon and listViewIcon added 2019-09-09 15:57:20 +02:00
Karl Tauber
8eca306bac Demo: fixed foreground of "Show dialog" link label (was unreadable in dark theme) 2019-09-08 19:20:41 +02:00
Karl Tauber
172a8a1b39 TitledBorder: fixed border and added to Demo 2019-09-08 19:09:39 +02:00
Karl Tauber
650ce12c22 SplitPane: implemented one-touch buttons 2019-09-08 18:54:25 +02:00
Karl Tauber
83f88cd3a8 slightly changed style of default Light and Dark themes and added IntelliJ and Darcula themes to keep the old style:
- changed focus width from 2 to 0
- changed colors of selected checkbox and radio button
- increased diameter of center circle in selected radio button
2019-09-08 17:18:19 +02:00
Karl Tauber
6b8b5de3b5 ToggleButton: removed unused border colors 2019-09-08 14:22:06 +02:00