diff --git a/CHANGELOG.md b/CHANGELOG.md index b3248d74..71f1ae31 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,8 @@ FlatLaf Change Log font. (issue #506) - FileChooser: Enabled full row selection for details view to fix alternate row coloring. (issue #512) +- SplitPane: Fixed `StackOverflowError` caused by layout loop that may occur + under special circumstances. (issue #513) - ToolBar: Fixed endless loop in focus navigation that may occur under special circumstances. (issue #505) - IntelliJ Themes: `Component.accentColor` UI property now has useful theme diff --git a/flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatSplitPaneUI.java b/flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatSplitPaneUI.java index d2c5c989..cec9fae1 100644 --- a/flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatSplitPaneUI.java +++ b/flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatSplitPaneUI.java @@ -235,7 +235,7 @@ public class FlatSplitPaneUI switch( e.getPropertyName() ) { case JSplitPane.DIVIDER_LOCATION_PROPERTY: // necessary to show/hide one-touch buttons on expand/collapse - revalidate(); + doLayout(); break; } }