mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-06 14:00:55 +03:00
Linux: use X11 window manager events to resize window, if FlatLaf window decorations are enabled (issue #866)
also made drag border slightly wider (from 5 to 6 pixels) and changed drag corner width from 16 to 32 to match native windows
This commit is contained in:
@@ -852,8 +852,8 @@ Resizable.resizeBorder [lazy] 4,4,4,4 false com.formdev.flatlaf.ui.F
|
||||
RootPane.activeBorderColor #4d5154 HSL 206 4 32 com.formdev.flatlaf.util.DerivedColor [UI] lighten(7% autoInverse)
|
||||
RootPane.background #3c3f41 HSL 204 4 25 javax.swing.plaf.ColorUIResource [UI]
|
||||
RootPane.border [lazy] 1,1,1,1 false com.formdev.flatlaf.ui.FlatRootPaneUI$FlatWindowBorder [UI]
|
||||
RootPane.borderDragThickness 5
|
||||
RootPane.cornerDragWidth 16
|
||||
RootPane.borderDragThickness 6
|
||||
RootPane.cornerDragWidth 32
|
||||
RootPane.defaultButtonWindowKeyBindings length=8 [Ljava.lang.Object;
|
||||
[0] ENTER
|
||||
[1] press
|
||||
|
||||
@@ -857,8 +857,8 @@ Resizable.resizeBorder [lazy] 4,4,4,4 false com.formdev.flatlaf.ui.F
|
||||
RootPane.activeBorderColor #737373 HSL 0 0 45 com.formdev.flatlaf.util.DerivedColor [UI] darken(50% autoInverse)
|
||||
RootPane.background #f2f2f2 HSL 0 0 95 javax.swing.plaf.ColorUIResource [UI]
|
||||
RootPane.border [lazy] 1,1,1,1 false com.formdev.flatlaf.ui.FlatRootPaneUI$FlatWindowBorder [UI]
|
||||
RootPane.borderDragThickness 5
|
||||
RootPane.cornerDragWidth 16
|
||||
RootPane.borderDragThickness 6
|
||||
RootPane.cornerDragWidth 32
|
||||
RootPane.defaultButtonWindowKeyBindings length=8 [Ljava.lang.Object;
|
||||
[0] ENTER
|
||||
[1] press
|
||||
|
||||
@@ -861,8 +861,8 @@ Resizable.resizeBorder [lazy] 4,4,4,4 false com.formdev.flatlaf.ui.F
|
||||
RootPane.activeBorderColor #303030 HSL 0 0 19 com.formdev.flatlaf.util.DerivedColor [UI] lighten(7% autoInverse)
|
||||
RootPane.background #1e1e1e HSL 0 0 12 javax.swing.plaf.ColorUIResource [UI]
|
||||
RootPane.border [lazy] 1,1,1,1 false com.formdev.flatlaf.ui.FlatRootPaneUI$FlatWindowBorder [UI]
|
||||
RootPane.borderDragThickness 5
|
||||
RootPane.cornerDragWidth 16
|
||||
RootPane.borderDragThickness 6
|
||||
RootPane.cornerDragWidth 32
|
||||
RootPane.defaultButtonWindowKeyBindings length=8 [Ljava.lang.Object;
|
||||
[0] ENTER
|
||||
[1] press
|
||||
|
||||
@@ -865,8 +865,8 @@ Resizable.resizeBorder [lazy] 4,4,4,4 false com.formdev.flatlaf.ui.F
|
||||
RootPane.activeBorderColor #777777 HSL 0 0 47 com.formdev.flatlaf.util.DerivedColor [UI] darken(50% autoInverse)
|
||||
RootPane.background #f6f6f6 HSL 0 0 96 javax.swing.plaf.ColorUIResource [UI]
|
||||
RootPane.border [lazy] 1,1,1,1 false com.formdev.flatlaf.ui.FlatRootPaneUI$FlatWindowBorder [UI]
|
||||
RootPane.borderDragThickness 5
|
||||
RootPane.cornerDragWidth 16
|
||||
RootPane.borderDragThickness 6
|
||||
RootPane.cornerDragWidth 32
|
||||
RootPane.defaultButtonWindowKeyBindings length=8 [Ljava.lang.Object;
|
||||
[0] ENTER
|
||||
[1] press
|
||||
|
||||
@@ -889,8 +889,8 @@ Resizable.resizeBorder [lazy] 4,4,4,4 false com.formdev.flatlaf.ui.F
|
||||
|
||||
RootPane.background #ccffcc HSL 120 100 90 javax.swing.plaf.ColorUIResource [UI]
|
||||
RootPane.border [lazy] 1,1,1,1 false com.formdev.flatlaf.ui.FlatRootPaneUI$FlatWindowBorder [UI]
|
||||
RootPane.borderDragThickness 5
|
||||
RootPane.cornerDragWidth 16
|
||||
RootPane.borderDragThickness 6
|
||||
RootPane.cornerDragWidth 32
|
||||
RootPane.defaultButtonWindowKeyBindings length=8 [Ljava.lang.Object;
|
||||
[0] ENTER
|
||||
[1] press
|
||||
|
||||
Reference in New Issue
Block a user