TabbedPane: no longer modify BasicTabbedPaneUI.contentBorderInsets in getContentBorderInsets() because this is useless and confusing

This commit is contained in:
Karl Tauber
2019-11-09 13:57:39 +01:00
parent 7f50a30b29
commit 433659a5df

View File

@@ -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;
}