This commit is contained in:
@@ -12,8 +12,7 @@ public class PersonalizedTheme implements Plugin {
|
||||
@Override
|
||||
public void onStart() {
|
||||
try {
|
||||
Font font = new Font("Verdana", Font.PLAIN, 16);
|
||||
UIManager.put("Button.font", font);
|
||||
Font font = new Font("Verdana", Font.PLAIN, 18);
|
||||
UIManager.put("ToggleButton.font", font);
|
||||
UIManager.put("RadioButton.font", font);
|
||||
UIManager.put("CheckBox.font", font);
|
||||
@@ -48,11 +47,8 @@ public class PersonalizedTheme implements Plugin {
|
||||
SwingUtils.updateAllFrames();
|
||||
|
||||
|
||||
SwingUtils.invokeDelayed( ()->{
|
||||
Preferences preferences = getView().getPreferences();
|
||||
for (ScriptEditor editor : getView().getEditors()){
|
||||
editor.setTextPaneFont(preferences.fontEditor);
|
||||
}
|
||||
SwingUtils.invokeDelayed( ()->{
|
||||
getView().restorePreferences();
|
||||
}, 250);
|
||||
|
||||
} catch (Exception ex) {
|
||||
|
||||
Reference in New Issue
Block a user