mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-11 14:37:13 -06:00
TabbedPane: support specifying tab area insets via client property
This commit is contained in:
@@ -324,8 +324,8 @@ public class FlatContainerTest
|
||||
}
|
||||
|
||||
private void tabAreaInsetsChanged() {
|
||||
UIManager.put( "TabbedPane.tabAreaInsets", tabAreaInsetsCheckBox.isSelected() ? new Insets( 5, 5, 10, 10 ) : null );
|
||||
FlatLaf.updateUI();
|
||||
Insets insets = tabAreaInsetsCheckBox.isSelected() ? new Insets( 5, 5, 10, 10 ) : null;
|
||||
putTabbedPanesClientProperty( TABBED_PANE_TAB_AREA_INSETS, insets );
|
||||
}
|
||||
|
||||
private void smallerTabHeightChanged() {
|
||||
|
||||
Reference in New Issue
Block a user