SplitPane:

- update divider when client property `JSplitPane.expandableSide` changed
- Extras: added support for `JSplitPane.expandableSide` client property to `FlatSplitPane`
This commit is contained in:
Karl Tauber
2024-03-24 12:42:39 +01:00
parent 3b3d7d76eb
commit bd60a18ff4
3 changed files with 35 additions and 2 deletions

View File

@@ -301,6 +301,10 @@ public class FlatSplitPaneUI
// necessary to show/hide one-touch buttons on expand/collapse
doLayout();
break;
case FlatClientProperties.SPLIT_PANE_EXPANDABLE_SIDE:
revalidate();
break;
}
}