|
|
|
@ -36,6 +36,7 @@ public class ParaTreeEditorSettingPane<T extends TreeEditor> extends TreeEditorS
|
|
|
|
|
ThemeTextStyle textStyle = widgetTheme.getTextStyle(); |
|
|
|
|
fontSizePane.setValue(textStyle.getFontSize()); |
|
|
|
|
fontColorButton.setColor(textStyle.getFontColor()); |
|
|
|
|
fontNameSelectBox.setSelectedItem(textStyle.getName()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@ -43,6 +44,7 @@ public class ParaTreeEditorSettingPane<T extends TreeEditor> extends TreeEditorS
|
|
|
|
|
ThemeTextStyle textStyle = new ThemeTextStyle(); |
|
|
|
|
textStyle.setFontSize(fontSizePane.getValue()); |
|
|
|
|
textStyle.setFontColor(fontColorButton.getColor()); |
|
|
|
|
textStyle.setName((String) fontNameSelectBox.getSelectedItem()); |
|
|
|
|
widgetTheme.setTextStyle(textStyle); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|