Karl Tauber
2aad301938
Spinner: fixed arrow positions
2020-06-07 18:27:55 +02:00
Karl Tauber
e18e8e3158
Popup: made Popup.show(), hide() and component listener more robust when used in unusual ways (issue #106 )
2020-06-07 15:25:11 +02:00
Karl Tauber
ff55cc1a2a
Window decorations: do not overwrite maximized bounds if controlled from the application
2020-06-07 11:57:05 +02:00
Karl Tauber
d081b9e182
Window decorations: do not restore maximized bounds in method maximize() because when restoring an iconified frame by clicking on the Windows 10 taskbar the maximize() method is not invoked and the frame size becomes full screen size and overlaps taskbar
2020-06-07 11:31:11 +02:00
Karl Tauber
5e5b9f0990
Window decorations: fixed maximized bounds on Java 15 (issues #47 and #82 )
2020-06-07 11:03:22 +02:00
Karl Tauber
97577e835e
Window decorations: fixed top border when running in JetBrains Runtime (issues #47 and #82 )
2020-06-06 22:16:26 +02:00
Karl Tauber
732ca8be56
FlatLaf.isLafDark() added
2020-06-06 22:00:54 +02:00
Karl Tauber
dd96712c2a
Menu: no longer add 1px to bottom insets of JMenu contained in JMenuBar to fix vertical alignment of JMenu text with FlatTitlePane title text on Java 9+ on HiDPI screens (due to rounding)
...
(this extra 1px was actually not necessary)
2020-06-06 15:31:11 +02:00
Karl Tauber
2ad0aba382
Window decorations: enable dark window appearance on macOS when running in JetBrains Runtime (issues #47 and #82 )
2020-06-06 13:53:22 +02:00
Karl Tauber
8e77eb0519
Window decorations: support resizing window (issues #47 and #82 )
2020-06-06 12:20:33 +02:00
Karl Tauber
049dae6584
Button: support non-square icon-only buttons (issue #110 )
2020-06-03 15:55:14 +02:00
Karl Tauber
1fffc67d13
Window decorations: added border (issues #47 and #82 )
2020-06-02 17:49:30 +02:00
Karl Tauber
8500781cd5
Merge branch 'master' into branch 'custom-window-decorations'
...
# Conflicts:
# flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatRootPaneUI.java
2020-06-02 16:13:35 +02:00
Karl Tauber
c45a769aa3
update JFrame/JDialog background color when switching Laf
2020-06-02 15:46:36 +02:00
Karl Tauber
16d2e27d05
Window decorations: require Windows 10 (issues #47 and #82 )
2020-05-31 15:31:28 +02:00
Karl Tauber
10c948d33c
Window decorations: nested class FlatRootPaneUI.FlatRootLayout is no longer static (issues #47 and #82 )
2020-05-31 14:53:13 +02:00
Karl Tauber
7ccd32dfbd
Window decorations: fixed menu bar border if embedded (issues #47 and #82 )
2020-05-31 14:45:44 +02:00
Karl Tauber
99c99b9218
Window decorations: support embedding menu bar into title pane (enabled by default) (issues #47 and #82 )
2020-05-31 14:10:58 +02:00
Karl Tauber
e0b0617ad2
macOS Catalina: Use Helvetica Neue font
2020-05-30 21:44:52 +02:00
Karl Tauber
5add723852
Window decorations: support right-to-left component orientation (issues #47 and #82 )
2020-05-30 18:33:22 +02:00
Karl Tauber
436fc545c0
Window decorations: support native Windows 10 custom window decorations with JetBrains Runtime 11 (issues #47 and #82 )
2020-05-29 16:44:33 +02:00
Karl Tauber
023d781daf
Window decorations: set maximized title pane height to 22px (issues #47 and #82 )
2020-05-29 11:17:46 +02:00
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