mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-12 06:57:13 -06:00
macOS window buttons spacing:
- uninstall when switching from FlatLaf to another Laf - install when switching from another Laf to FlatLaf (for PR #779)
This commit is contained in:
@@ -75,6 +75,14 @@ public class FlatMacOSTest
|
||||
updateNativeButtonBounds();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateUI() {
|
||||
super.updateUI();
|
||||
|
||||
if( nativeButtonsBoundsField != null )
|
||||
updateNativeButtonBounds();
|
||||
}
|
||||
|
||||
private void fullWindowContentChanged() {
|
||||
getRootPane().putClientProperty( "apple.awt.fullWindowContent", fullWindowContentCheckBox.isSelected() );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user