|
|
|
@ -41,6 +41,7 @@ public class ParaEditorSettingPane<T extends Widget> extends EditorSettingPane<T
|
|
|
|
|
fontColorButton.setColor(textStyle.getFontColor()); |
|
|
|
|
bold.setSelected(textStyle.isBold()); |
|
|
|
|
italic.setSelected(textStyle.isItalic()); |
|
|
|
|
fontNameSelectBox.setSelectedItem(textStyle.getName()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@ -51,6 +52,7 @@ public class ParaEditorSettingPane<T extends Widget> extends EditorSettingPane<T
|
|
|
|
|
textStyle.setFontColor(fontColorButton.getColor()); |
|
|
|
|
textStyle.setBold(bold.isSelected()); |
|
|
|
|
textStyle.setItalic(italic.isSelected()); |
|
|
|
|
textStyle.setName((String) fontNameSelectBox.getSelectedItem()); |
|
|
|
|
paraEditorTheme.setTextStyle(textStyle); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|