mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-11 06:27:13 -06:00
TabbedPane:
- use rounded rectangles for buttons in tab area - "pressed" background for buttons in tab area - fill background of buttons in tab area - use derived colors for hover and pressed - fixed missing arrow in "more tabs" button at larger scaling
This commit is contained in:
@@ -911,15 +911,19 @@ SplitPaneUI com.formdev.flatlaf.ui.FlatSplitPaneUI
|
||||
|
||||
TabbedPane.arrowType chevron
|
||||
TabbedPane.background #3c3f41 javax.swing.plaf.ColorUIResource [UI]
|
||||
TabbedPane.buttonArc 6
|
||||
TabbedPane.buttonHoverBackground #303234 com.formdev.flatlaf.util.DerivedColor [UI] darken(5%)
|
||||
TabbedPane.buttonInsets 2,1,2,1 javax.swing.plaf.InsetsUIResource [UI]
|
||||
TabbedPane.buttonPressedBackground #282a2c com.formdev.flatlaf.util.DerivedColor [UI] darken(8%)
|
||||
TabbedPane.closeArc 4
|
||||
TabbedPane.closeCrossFilledSize 7.5
|
||||
TabbedPane.closeCrossLineWidth 1.0
|
||||
TabbedPane.closeCrossPlainSize 7.5
|
||||
TabbedPane.closeForeground #888888 javax.swing.plaf.ColorUIResource [UI]
|
||||
TabbedPane.closeHoverBackground #464b4e javax.swing.plaf.ColorUIResource [UI]
|
||||
TabbedPane.closeHoverBackground #484c4e com.formdev.flatlaf.util.DerivedColor [UI] lighten(5% autoInverse)
|
||||
TabbedPane.closeHoverForeground #bbbbbb javax.swing.plaf.ColorUIResource [UI]
|
||||
TabbedPane.closeIcon [lazy] 16,16 com.formdev.flatlaf.icons.FlatTabbedPaneCloseIcon [UI]
|
||||
TabbedPane.closePressedBackground #52585b javax.swing.plaf.ColorUIResource [UI]
|
||||
TabbedPane.closePressedBackground #54595c com.formdev.flatlaf.util.DerivedColor [UI] lighten(10% autoInverse)
|
||||
TabbedPane.closePressedForeground #bbbbbb javax.swing.plaf.ColorUIResource [UI]
|
||||
TabbedPane.closeSize 16,16 javax.swing.plaf.DimensionUIResource [UI]
|
||||
TabbedPane.contentAreaColor #646464 javax.swing.plaf.ColorUIResource [UI]
|
||||
@@ -935,7 +939,7 @@ TabbedPane.foreground #bbbbbb javax.swing.plaf.ColorUIResource [UI]
|
||||
TabbedPane.hasFullBorder false
|
||||
TabbedPane.hiddenTabsNavigation moreTabsButton
|
||||
TabbedPane.highlight #242424 javax.swing.plaf.ColorUIResource [UI]
|
||||
TabbedPane.hoverColor #2e3133 javax.swing.plaf.ColorUIResource [UI]
|
||||
TabbedPane.hoverColor #303234 com.formdev.flatlaf.util.DerivedColor [UI] darken(5%)
|
||||
TabbedPane.labelShift 1
|
||||
TabbedPane.light #313131 javax.swing.plaf.ColorUIResource [UI]
|
||||
TabbedPane.selectedLabelShift -1
|
||||
@@ -1150,7 +1154,7 @@ ToggleButton.selectedForeground #bbbbbb javax.swing.plaf.ColorUIResource [UI]
|
||||
ToggleButton.shadow #646464 javax.swing.plaf.ColorUIResource [UI]
|
||||
ToggleButton.tab.disabledUnderlineColor #7a7a7a javax.swing.plaf.ColorUIResource [UI]
|
||||
ToggleButton.tab.focusBackground #3d4b5c javax.swing.plaf.ColorUIResource [UI]
|
||||
ToggleButton.tab.hoverBackground #2e3133 javax.swing.plaf.ColorUIResource [UI]
|
||||
ToggleButton.tab.hoverBackground #303234 com.formdev.flatlaf.util.DerivedColor [UI] darken(5%)
|
||||
ToggleButton.tab.underlineColor #4a88c7 javax.swing.plaf.ColorUIResource [UI]
|
||||
ToggleButton.tab.underlineHeight 2
|
||||
ToggleButton.textIconGap 4
|
||||
|
||||
@@ -916,15 +916,19 @@ SplitPaneUI com.formdev.flatlaf.ui.FlatSplitPaneUI
|
||||
|
||||
TabbedPane.arrowType chevron
|
||||
TabbedPane.background #f2f2f2 javax.swing.plaf.ColorUIResource [UI]
|
||||
TabbedPane.buttonArc 6
|
||||
TabbedPane.buttonHoverBackground #e0e0e0 com.formdev.flatlaf.util.DerivedColor [UI] darken(7% autoInverse)
|
||||
TabbedPane.buttonInsets 2,1,2,1 javax.swing.plaf.InsetsUIResource [UI]
|
||||
TabbedPane.buttonPressedBackground #d9d9d9 com.formdev.flatlaf.util.DerivedColor [UI] darken(10% autoInverse)
|
||||
TabbedPane.closeArc 4
|
||||
TabbedPane.closeCrossFilledSize 7.5
|
||||
TabbedPane.closeCrossLineWidth 1.0
|
||||
TabbedPane.closeCrossPlainSize 7.5
|
||||
TabbedPane.closeForeground #8c8c8c javax.swing.plaf.ColorUIResource [UI]
|
||||
TabbedPane.closeHoverBackground #c0c0c0 javax.swing.plaf.ColorUIResource [UI]
|
||||
TabbedPane.closeHoverBackground #bfbfbf com.formdev.flatlaf.util.DerivedColor [UI] darken(20% autoInverse)
|
||||
TabbedPane.closeHoverForeground #000000 javax.swing.plaf.ColorUIResource [UI]
|
||||
TabbedPane.closeIcon [lazy] 16,16 com.formdev.flatlaf.icons.FlatTabbedPaneCloseIcon [UI]
|
||||
TabbedPane.closePressedBackground #b3b3b3 javax.swing.plaf.ColorUIResource [UI]
|
||||
TabbedPane.closePressedBackground #b2b2b2 com.formdev.flatlaf.util.DerivedColor [UI] darken(25% autoInverse)
|
||||
TabbedPane.closePressedForeground #000000 javax.swing.plaf.ColorUIResource [UI]
|
||||
TabbedPane.closeSize 16,16 javax.swing.plaf.DimensionUIResource [UI]
|
||||
TabbedPane.contentAreaColor #bfbfbf javax.swing.plaf.ColorUIResource [UI]
|
||||
@@ -940,7 +944,7 @@ TabbedPane.foreground #000000 javax.swing.plaf.ColorUIResource [UI]
|
||||
TabbedPane.hasFullBorder false
|
||||
TabbedPane.hiddenTabsNavigation moreTabsButton
|
||||
TabbedPane.highlight #ffffff javax.swing.plaf.ColorUIResource [UI]
|
||||
TabbedPane.hoverColor #d9d9d9 javax.swing.plaf.ColorUIResource [UI]
|
||||
TabbedPane.hoverColor #e0e0e0 com.formdev.flatlaf.util.DerivedColor [UI] darken(7% autoInverse)
|
||||
TabbedPane.labelShift 1
|
||||
TabbedPane.light #e3e3e3 javax.swing.plaf.ColorUIResource [UI]
|
||||
TabbedPane.selectedLabelShift -1
|
||||
@@ -1155,7 +1159,7 @@ ToggleButton.selectedForeground #000000 javax.swing.plaf.ColorUIResource [UI]
|
||||
ToggleButton.shadow #c4c4c4 javax.swing.plaf.ColorUIResource [UI]
|
||||
ToggleButton.tab.disabledUnderlineColor #ababab javax.swing.plaf.ColorUIResource [UI]
|
||||
ToggleButton.tab.focusBackground #dae4ed javax.swing.plaf.ColorUIResource [UI]
|
||||
ToggleButton.tab.hoverBackground #d9d9d9 javax.swing.plaf.ColorUIResource [UI]
|
||||
ToggleButton.tab.hoverBackground #e0e0e0 com.formdev.flatlaf.util.DerivedColor [UI] darken(7% autoInverse)
|
||||
ToggleButton.tab.underlineColor #4083c9 javax.swing.plaf.ColorUIResource [UI]
|
||||
ToggleButton.tab.underlineHeight 2
|
||||
ToggleButton.textIconGap 4
|
||||
|
||||
@@ -904,6 +904,10 @@ SplitPaneUI com.formdev.flatlaf.ui.FlatSplitPaneUI
|
||||
|
||||
TabbedPane.arrowType chevron
|
||||
TabbedPane.background #ccffcc javax.swing.plaf.ColorUIResource [UI]
|
||||
TabbedPane.buttonArc 6
|
||||
TabbedPane.buttonHoverBackground #ffff00 javax.swing.plaf.ColorUIResource [UI]
|
||||
TabbedPane.buttonInsets 2,1,2,1 javax.swing.plaf.InsetsUIResource [UI]
|
||||
TabbedPane.buttonPressedBackground #ffc800 javax.swing.plaf.ColorUIResource [UI]
|
||||
TabbedPane.closeArc 999
|
||||
TabbedPane.closeCrossFilledSize 6.5
|
||||
TabbedPane.closeCrossLineWidth 2.0
|
||||
|
||||
Reference in New Issue
Block a user