mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-11 06:27:13 -06:00
TabbedPane: fixed missing arrow in "more tabs" button when changing tabPlacement to left/right and back to top/bottom (PR #190)
This commit is contained in:
@@ -1405,7 +1405,8 @@ public class FlatTabbedPaneUI
|
||||
if( direction == EAST || direction == WEST ) {
|
||||
int xoffset = (getWidth() / 2) - getHeight();
|
||||
setXOffset( (direction == EAST) ? xoffset : -xoffset );
|
||||
}
|
||||
} else
|
||||
setXOffset( 0 );
|
||||
|
||||
super.paint( g );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user