mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-08 06:50: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)
|
and #750)
|
||||||
- OptionPane: Fixed styling custom panel background in `JOptionPane`. (issue
|
- OptionPane: Fixed styling custom panel background in `JOptionPane`. (issue
|
||||||
#761)
|
#761)
|
||||||
|
- Fixed broken rendering after resizing window to minimum size and then
|
||||||
|
increasing size again. (issue #767)
|
||||||
|
|
||||||
|
|
||||||
## 3.2.5
|
## 3.2.5
|
||||||
|
|||||||
@@ -499,7 +499,7 @@ public class FlatRootPaneUI
|
|||||||
@Override
|
@Override
|
||||||
public void invalidateLayout( Container parent ) {
|
public void invalidateLayout( Container parent ) {
|
||||||
if( titlePane != null )
|
if( titlePane != null )
|
||||||
titlePane.menuBarChanged();
|
titlePane.menuBarInvalidate();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -608,6 +608,10 @@ public class FlatTitlePane
|
|||||||
doLayout();
|
doLayout();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void menuBarInvalidate() {
|
||||||
|
menuBarPlaceholder.invalidate();
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void paint( Graphics g ) {
|
public void paint( Graphics g ) {
|
||||||
super.paint( g );
|
super.paint( g );
|
||||||
|
|||||||
Reference in New Issue
Block a user