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
502731d3b0
Spinner: optimized up/down arrow positions
2020-05-24 19:05:28 +02:00
Karl Tauber
283535c429
Demo: use Command modifier to change font size on macOS
2020-05-24 15:26:54 +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
7d14fbe739
Testing: do not fail startup when LaF initialization throws UnsupportedClassVersionError (may occur when switching from Java 9+ to Java 8)
2020-05-24 14:48:05 +02:00
Karl Tauber
e9e1e350eb
Spinner:
...
- repaint if JSpinner component gained/lost focus
- paint focus border if JSpinner component is focused
- if spinner gained focus, transfer it to the editor text field
2020-05-24 14:44:36 +02:00
Karl Tauber
566e42cc40
revalidate layout when minimum width client property is changed
2020-05-23 22:57:39 +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
4af8d2f1c5
ComboBox: support custom borders in combobox editors (issue #102 )
2020-05-23 18:26:59 +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
53fce4e81d
ScrollBar: rotate track/thumb insets for horizontal orientation because they are given for vertical orientation (issue #103 )
2020-05-23 14:16:12 +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
10b131e111
Demo: show Java vendor in bottom control bar
2020-05-23 11:28:28 +02:00
Karl Tauber
c4c6faa943
Ubuntu Linux: fixed poorly rendered font (2nd attempt) (issue #105 )
2020-05-23 11:06:24 +02:00
Karl Tauber
c7a8d1e1b7
Linux: changing system font did not update FlatLaf font
2020-05-22 18:22:46 +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
bc6cb492f1
Ubuntu Linux: fixed poorly rendered font (issue #105 )
2020-05-21 17:11:58 +02:00
Karl Tauber
ce503cedc3
Demo: improved "Font" menu:
...
- add current font family and size to menu
- filter out unavailable fonts
- select active font family and size
- disable font menu items if non-FlatLaf LaF is active
also show current font in bottom control bar
(issue #105 )
2020-05-21 12:24:40 +02:00
Karl Tauber
c900c9cc82
reduce derived colors calculations
2020-05-20 14:49:56 +02:00
Karl Tauber
87b73f26f5
replaced FlatUIUtils.setColor() with deriveColor() for more flexibility
2020-05-20 14:24:22 +02:00
Karl Tauber
be529655d6
UIDefaultsLoader: on color functions use "autoInverse" option by default if "derived" option is set
2020-05-20 00:40:05 +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
815e23b930
ScrollBar: make hoverTrack and hoverThumb fields protected to allow subclasses implement own painting (issue #103 )
2020-05-19 19:24:48 +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
16d51fe6b4
ComboBox and Spinner: move arrow slightly to the left if round borders are used on the component
2020-05-18 23:26:34 +02:00
Karl Tauber
ddf9ed06ab
release 0.35
0.35
2020-05-18 21:22:31 +02:00
Karl Tauber
1907f80024
Demo: fixed compiler warnings and improved error/warning hints
2020-05-18 21:07:11 +02:00
Karl Tauber
8c0ccdd227
Drop shadows on Windows: support medium-weight popups (issue #94 )
2020-05-18 13:13:57 +02:00
Karl Tauber
dc098025b6
FileChooser: make top-right buttons look like toolbar buttons
2020-05-18 10:51:23 +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
ff545e6ecd
UIDefaultsLoader: support using a derived color function within another derived color function and create a derived color that joins the color functions
2020-05-17 12:14:14 +02:00
Karl Tauber
961fe38c7e
UIDefaultsDump: dump color functions
2020-05-16 22:25:23 +02:00
Karl Tauber
19426394e2
UIDefaultsLoader: added saturate() and desaturate() color functions
2020-05-16 18:59:05 +02:00
Karl Tauber
069a4e8f0b
ToolTip: fixed left/right insets of multi-line tooltips so that they are the same as in single-line tooltips (BasicToolTipUI adds 3 to the left and right)
2020-05-16 14:33:55 +02:00
Karl Tauber
a76b02b828
fixed broken FlatTestLaf.properties
2020-05-16 14:19:41 +02:00
Karl Tauber
fbb9bf5f0c
Extras: TriStateCheckBox: fixed painting third state in LaFs that do not support third state
2020-05-16 12:29:35 +02:00
Karl Tauber
f632c355e8
FileChooser: scale file icons (issue #100 )
2020-05-16 11:03:40 +02:00
Karl Tauber
e75caf5833
FileChooser: use system icons (issue #100 )
2020-05-15 17:20:52 +02:00
Karl Tauber
b0c8f2cefd
TextComponents: reduced duplicate code; fixed parameter order
2020-05-15 15:00:32 +02:00
Karl Tauber
2136d9f13d
PasswordField: do not apply minimum width if columns property > 0
2020-05-15 14:06:33 +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