mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-06 14:00:55 +03:00
TabbedPane: no longer modify BasicTabbedPaneUI.contentBorderInsets in getContentBorderInsets() because this is useless and confusing
This commit is contained in:
@@ -199,6 +199,7 @@ public class FlatTabbedPaneUI
|
||||
int sh = contentSeparatorHeight;
|
||||
Insets insets = hasFullBorder ? new Insets( sh, sh, sh, sh ) : new Insets( sh, 0, 0, 0 );
|
||||
|
||||
Insets contentBorderInsets = new Insets( 0, 0, 0, 0 );
|
||||
rotateInsets( insets, contentBorderInsets, tabPlacement );
|
||||
return contentBorderInsets;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user