TabbedPane: fixed scaling of client property "JTabbedPane.tabHeight"; avoid storing scaled values in UI delegate

This commit is contained in:
Karl Tauber
2020-10-21 11:24:06 +02:00
parent 6d38e44f91
commit 2b50431081
2 changed files with 31 additions and 12 deletions

View File

@@ -300,7 +300,7 @@ public class FlatContainerTest
}
private void smallerTabHeightChanged() {
Integer tabHeight = smallerTabHeightCheckBox.isSelected() ? 20 : null;
Integer tabHeight = smallerTabHeightCheckBox.isSelected() ? 26 : null;
putTabbedPanesClientProperty( TABBED_PANE_TAB_HEIGHT, tabHeight );
}