mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-11 06:27:13 -06:00
Window decorations: RootPane.activeBorderColor and RootPane.inactiveBorderColor fixes:
- FlatDarkLaf.properties: changed darken() to lighten(), which does not change real colors due to autoInverse mechanism - FlatLightLaf.properties: use also derived colors (to be consistent with FlatDarkLaf.properties and fix warning in UIDefaultsDump)
This commit is contained in:
@@ -218,8 +218,8 @@ ProgressBar.selectionBackground = @foreground
|
||||
|
||||
#---- RootPane ----
|
||||
|
||||
RootPane.activeBorderColor = darken(@background,7%,derived)
|
||||
RootPane.inactiveBorderColor = darken(@background,5%,derived)
|
||||
RootPane.activeBorderColor = lighten(@background,7%,derived)
|
||||
RootPane.inactiveBorderColor = lighten(@background,5%,derived)
|
||||
|
||||
|
||||
#---- ScrollBar ----
|
||||
|
||||
@@ -230,8 +230,8 @@ ProgressBar.selectionBackground = @foreground
|
||||
|
||||
#---- RootPane ----
|
||||
|
||||
RootPane.activeBorderColor = #707070
|
||||
RootPane.inactiveBorderColor = lighten($RootPane.activeBorderColor,20%,derived)
|
||||
RootPane.activeBorderColor = darken(@background,50%,derived)
|
||||
RootPane.inactiveBorderColor = darken(@background,30%,derived)
|
||||
|
||||
|
||||
#---- ScrollBar ----
|
||||
|
||||
@@ -764,7 +764,7 @@ Resizable.resizeBorder [lazy] 4,4,4,4 false com.formdev.flatlaf.ui.F
|
||||
|
||||
#---- RootPane ----
|
||||
|
||||
RootPane.activeBorderColor #4d5154 com.formdev.flatlaf.util.DerivedColor [UI] darken(7% autoInverse)
|
||||
RootPane.activeBorderColor #4d5154 com.formdev.flatlaf.util.DerivedColor [UI] lighten(7% autoInverse)
|
||||
RootPane.border [lazy] 1,1,1,1 false com.formdev.flatlaf.ui.FlatRootPaneUI$FlatWindowBorder [UI]
|
||||
RootPane.borderDragThickness 5
|
||||
RootPane.cornerDragWidth 16
|
||||
@@ -779,7 +779,7 @@ RootPane.defaultButtonWindowKeyBindings length=8 [Ljava.lang.Object;
|
||||
[7] release
|
||||
RootPane.honorDialogMinimumSizeOnResize true
|
||||
RootPane.honorFrameMinimumSizeOnResize false
|
||||
RootPane.inactiveBorderColor #484c4e com.formdev.flatlaf.util.DerivedColor [UI] darken(5% autoInverse)
|
||||
RootPane.inactiveBorderColor #484c4e com.formdev.flatlaf.util.DerivedColor [UI] lighten(5% autoInverse)
|
||||
RootPaneUI com.formdev.flatlaf.ui.FlatRootPaneUI
|
||||
|
||||
|
||||
|
||||
@@ -770,7 +770,7 @@ Resizable.resizeBorder [lazy] 4,4,4,4 false com.formdev.flatlaf.ui.F
|
||||
|
||||
#---- RootPane ----
|
||||
|
||||
RootPane.activeBorderColor #707070 javax.swing.plaf.ColorUIResource [UI]
|
||||
RootPane.activeBorderColor #737373 com.formdev.flatlaf.util.DerivedColor [UI] darken(50% autoInverse)
|
||||
RootPane.border [lazy] 1,1,1,1 false com.formdev.flatlaf.ui.FlatRootPaneUI$FlatWindowBorder [UI]
|
||||
RootPane.borderDragThickness 5
|
||||
RootPane.cornerDragWidth 16
|
||||
@@ -785,7 +785,7 @@ RootPane.defaultButtonWindowKeyBindings length=8 [Ljava.lang.Object;
|
||||
[7] release
|
||||
RootPane.honorDialogMinimumSizeOnResize true
|
||||
RootPane.honorFrameMinimumSizeOnResize false
|
||||
RootPane.inactiveBorderColor #bfbfbf / #a3a3a3 com.formdev.flatlaf.util.DerivedColor [UI] lighten(20% autoInverse)
|
||||
RootPane.inactiveBorderColor #a6a6a6 com.formdev.flatlaf.util.DerivedColor [UI] darken(30% autoInverse)
|
||||
RootPaneUI com.formdev.flatlaf.ui.FlatRootPaneUI
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user