|
|
@ -81,9 +81,7 @@ public class EditorSettingPane<T extends Widget> extends BaseStyleSettingPane<T> |
|
|
|
} |
|
|
|
} |
|
|
|
lineComboBox.setSelectedLineStyle(editorTheme.getBorderStyle().getLineType()); |
|
|
|
lineComboBox.setSelectedLineStyle(editorTheme.getBorderStyle().getLineType()); |
|
|
|
borderRadiusSpinner.setValue(editorTheme.getBorderStyle().getRadius()); |
|
|
|
borderRadiusSpinner.setValue(editorTheme.getBorderStyle().getRadius()); |
|
|
|
if(selectBgColorBox != null) { |
|
|
|
selectBgColorBox.setSelectObject(editorTheme.getSelectBoxBgColor()); |
|
|
|
selectBgColorBox.setSelectObject(editorTheme.getSelectBoxBgColor()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
assignFontSizePane(editorTheme); |
|
|
|
assignFontSizePane(editorTheme); |
|
|
|
} |
|
|
|
} |
|
|
|
switchCard(); |
|
|
|
switchCard(); |
|
|
@ -110,9 +108,7 @@ public class EditorSettingPane<T extends Widget> extends BaseStyleSettingPane<T> |
|
|
|
|
|
|
|
|
|
|
|
protected void updateEditorStyleBean(EditorTheme editorTheme) { |
|
|
|
protected void updateEditorStyleBean(EditorTheme editorTheme) { |
|
|
|
editorTheme.setThemeColor(colorSelectBox.getSelectObject()); |
|
|
|
editorTheme.setThemeColor(colorSelectBox.getSelectObject()); |
|
|
|
if(selectBgColorBox != null) { |
|
|
|
editorTheme.setSelectBoxBgColor(selectBgColorBox.getSelectObject()); |
|
|
|
editorTheme.setSelectBoxBgColor(selectBgColorBox.getSelectObject()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
editorTheme.setStyleType(style1.isSelected() ? WidgetThemeDisplayConstants.STYLE_1 : WidgetThemeDisplayConstants.STYLE_2); |
|
|
|
editorTheme.setStyleType(style1.isSelected() ? WidgetThemeDisplayConstants.STYLE_1 : WidgetThemeDisplayConstants.STYLE_2); |
|
|
|
editorTheme.setBorderStyle(new BorderStyle((int) borderRadiusSpinner.getValue(), lineComboBox.getSelectedLineStyle())); |
|
|
|
editorTheme.setBorderStyle(new BorderStyle((int) borderRadiusSpinner.getValue(), lineComboBox.getSelectedLineStyle())); |
|
|
|
assignFontSizeStyle(editorTheme); |
|
|
|
assignFontSizeStyle(editorTheme); |
|
|
|