mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-07 22:40:53 +03:00
SplitPane: fixed StackOverflowError caused by layout loop that may occur under special circumstances (issue #513)
This commit is contained in:
@@ -11,6 +11,8 @@ FlatLaf Change Log
|
|||||||
font. (issue #506)
|
font. (issue #506)
|
||||||
- FileChooser: Enabled full row selection for details view to fix alternate row
|
- FileChooser: Enabled full row selection for details view to fix alternate row
|
||||||
coloring. (issue #512)
|
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
|
- ToolBar: Fixed endless loop in focus navigation that may occur under special
|
||||||
circumstances. (issue #505)
|
circumstances. (issue #505)
|
||||||
- IntelliJ Themes: `Component.accentColor` UI property now has useful theme
|
- IntelliJ Themes: `Component.accentColor` UI property now has useful theme
|
||||||
|
|||||||
@@ -235,7 +235,7 @@ public class FlatSplitPaneUI
|
|||||||
switch( e.getPropertyName() ) {
|
switch( e.getPropertyName() ) {
|
||||||
case JSplitPane.DIVIDER_LOCATION_PROPERTY:
|
case JSplitPane.DIVIDER_LOCATION_PROPERTY:
|
||||||
// necessary to show/hide one-touch buttons on expand/collapse
|
// necessary to show/hide one-touch buttons on expand/collapse
|
||||||
revalidate();
|
doLayout();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user