mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-08 23:08:42 +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;
|
int sh = contentSeparatorHeight;
|
||||||
Insets insets = hasFullBorder ? new Insets( sh, sh, sh, sh ) : new Insets( sh, 0, 0, 0 );
|
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 );
|
rotateInsets( insets, contentBorderInsets, tabPlacement );
|
||||||
return contentBorderInsets;
|
return contentBorderInsets;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user