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