mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-09 08:15:09 +03:00
Styling: set "shared" flag to true when shared icon is assigned
This commit is contained in:
@@ -202,6 +202,7 @@ public class FlatButtonUI
|
||||
toolbarSelectedBackground = UIManager.getColor( prefix + "toolbar.selectedBackground" );
|
||||
|
||||
helpButtonIcon = UIManager.getIcon( "HelpButton.icon" );
|
||||
helpButtonIconShared = true;
|
||||
|
||||
defaults_initialized = true;
|
||||
}
|
||||
|
||||
@@ -102,6 +102,7 @@ public class FlatPasswordFieldUI
|
||||
|
||||
showCapsLock = UIManager.getBoolean( "PasswordField.showCapsLock" );
|
||||
capsLockIcon = UIManager.getIcon( "PasswordField.capsLockIcon" );
|
||||
capsLockIconShared = true;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -105,6 +105,7 @@ public class FlatRadioButtonUI
|
||||
|
||||
defaultBackground = UIManager.getColor( prefix + "background" );
|
||||
|
||||
iconShared = true;
|
||||
defaults_initialized = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user