TabbedPane: hide cropped line in scroll-tab-layout (issue #40)

This commit is contained in:
Karl Tauber
2020-01-14 10:51:07 +01:00
parent e9a3456cf5
commit 2459a3654b
3 changed files with 3 additions and 2 deletions

View File

@@ -3,6 +3,7 @@ FlatLaf Change Log
## 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
longer `null`.

View File

@@ -181,7 +181,7 @@ public class FlatTabbedPaneUI
protected JButton createScrollButton( int direction ) {
// this method is invoked before installDefaults(), so we can not use color fields here
return new FlatArrowButton( direction, UIManager.getString( "Component.arrowType" ),
UIManager.getColor( "TabbedPane.shadow" ),
UIManager.getColor( "TabbedPane.foreground" ),
UIManager.getColor( "TabbedPane.disabledForeground" ), null,
UIManager.getColor( "TabbedPane.hoverColor" ) );
}

View File

@@ -366,7 +366,7 @@ TabbedPane.tabAreaInsets=0,0,0,0
TabbedPane.selectedTabPadInsets=0,0,0,0
TabbedPane.tabRunOverlay=0
TabbedPane.tabsOverlapBorder=true
TabbedPane.shadow=$ComboBox.buttonArrowColor
TabbedPane.shadow=@background
#---- Table ----