mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-07 14:30:56 +03:00
fixed broken rendering after resizing window to minimum size and then increasing size again (issue #767)
This commit is contained in:
@@ -15,6 +15,8 @@ FlatLaf Change Log
|
||||
and #750)
|
||||
- OptionPane: Fixed styling custom panel background in `JOptionPane`. (issue
|
||||
#761)
|
||||
- Fixed broken rendering after resizing window to minimum size and then
|
||||
increasing size again. (issue #767)
|
||||
|
||||
|
||||
## 3.2.5
|
||||
|
||||
@@ -499,7 +499,7 @@ public class FlatRootPaneUI
|
||||
@Override
|
||||
public void invalidateLayout( Container parent ) {
|
||||
if( titlePane != null )
|
||||
titlePane.menuBarChanged();
|
||||
titlePane.menuBarInvalidate();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -608,6 +608,10 @@ public class FlatTitlePane
|
||||
doLayout();
|
||||
}
|
||||
|
||||
void menuBarInvalidate() {
|
||||
menuBarPlaceholder.invalidate();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void paint( Graphics g ) {
|
||||
super.paint( g );
|
||||
|
||||
Reference in New Issue
Block a user