Karl Tauber
576c0048d0
Window decorations: make title pane height smaller when frame is maximized (issues #47 and #82 )
2020-05-29 00:26:10 +02:00
Karl Tauber
4f79cdad50
Window decorations: support moving window (issues #47 and #82 )
2020-05-28 23:49:46 +02:00
Karl Tauber
954cae8738
Window decorations: limit size of moximized windows so that they do not overlap the Windows task bar (issues #47 and #82 )
2020-05-28 23:04:43 +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
ebd6375672
Spinner: optimized up/down chevron arrow positions
2020-05-25 13:05:59 +02:00
Karl Tauber
502731d3b0
Spinner: optimized up/down arrow positions
2020-05-24 19:05:28 +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
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
bc6cb492f1
Ubuntu Linux: fixed poorly rendered font (issue #105 )
2020-05-21 17:11:58 +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
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
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
1aa339de02
make component outline border wider if focus width is zero
2020-05-17 17:59:26 +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
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
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
578d445ecb
FlatBorder: moved scaling from getter methods to paintBorder() and getBorderInsets()
2020-05-14 23:35:11 +02:00
Karl Tauber
3bbc9517af
Popup: fixed background flashing effect when drop shadows are disabled (issue #94 )
2020-05-14 14:48:12 +02:00
Karl Tauber
a4d7f278cf
Drop shadows on Windows: fix location of light weight popup in case it has left or top drop shadow (issue #94 )
2020-05-14 11:44:00 +02:00
Karl Tauber
bf0ffc6ac2
Drop shadows: support enabling/disabling drop shadows per component (issue #94 )
2020-05-14 11:39:09 +02:00
Karl Tauber
ace07cd9cb
Drop shadows on Windows: fixed sub-pixel text rendering issue for heavy weight popups (issue #94 )
2020-05-14 11:11:11 +02:00
Amit Mendapara
298f0dfd63
Fix menu background flashing effect
...
When using dark theme on light platform theme, there was a
background flashing effect on popups.
See #94
2020-05-14 11:43:59 +05:30
Karl Tauber
b8f953cd26
Drop shadows on Windows: use light weight popups by default (issue #94 )
...
this fixes the sub-pixel text rendering issue (on Windows) for popups that fit into the owner window
2020-05-13 18:41:26 +02:00
Karl Tauber
a9cfe69ba7
FileChooser: fixed missing labels in file chooser when running on Java 9 or later (issue #98 )
2020-05-13 12:50:41 +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