Browse Source

去掉背景色配置面板判空,用不着

release/11.0
obo 1 year ago
parent
commit
f18183b7d9
  1. 4
      designer-form/src/main/java/com/fr/design/widgettheme/common/EditorSettingPane.java

4
designer-form/src/main/java/com/fr/design/widgettheme/common/EditorSettingPane.java

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

Loading…
Cancel
Save