mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-15 16:27:13 -06:00
TabbedPane: hide cropped line in scroll-tab-layout (issue #40)
This commit is contained in:
@@ -3,6 +3,7 @@ FlatLaf Change Log
|
|||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
|
- TabbedPane: In scroll-tab-layout, the cropped line is now hidden. (issue #40)
|
||||||
- Tree: UI default value `Tree.textBackground` now has a valid color and is no
|
- Tree: UI default value `Tree.textBackground` now has a valid color and is no
|
||||||
longer `null`.
|
longer `null`.
|
||||||
|
|
||||||
|
|||||||
@@ -181,7 +181,7 @@ public class FlatTabbedPaneUI
|
|||||||
protected JButton createScrollButton( int direction ) {
|
protected JButton createScrollButton( int direction ) {
|
||||||
// this method is invoked before installDefaults(), so we can not use color fields here
|
// this method is invoked before installDefaults(), so we can not use color fields here
|
||||||
return new FlatArrowButton( direction, UIManager.getString( "Component.arrowType" ),
|
return new FlatArrowButton( direction, UIManager.getString( "Component.arrowType" ),
|
||||||
UIManager.getColor( "TabbedPane.shadow" ),
|
UIManager.getColor( "TabbedPane.foreground" ),
|
||||||
UIManager.getColor( "TabbedPane.disabledForeground" ), null,
|
UIManager.getColor( "TabbedPane.disabledForeground" ), null,
|
||||||
UIManager.getColor( "TabbedPane.hoverColor" ) );
|
UIManager.getColor( "TabbedPane.hoverColor" ) );
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -366,7 +366,7 @@ TabbedPane.tabAreaInsets=0,0,0,0
|
|||||||
TabbedPane.selectedTabPadInsets=0,0,0,0
|
TabbedPane.selectedTabPadInsets=0,0,0,0
|
||||||
TabbedPane.tabRunOverlay=0
|
TabbedPane.tabRunOverlay=0
|
||||||
TabbedPane.tabsOverlapBorder=true
|
TabbedPane.tabsOverlapBorder=true
|
||||||
TabbedPane.shadow=$ComboBox.buttonArrowColor
|
TabbedPane.shadow=@background
|
||||||
|
|
||||||
|
|
||||||
#---- Table ----
|
#---- Table ----
|
||||||
|
|||||||
Reference in New Issue
Block a user