Browse Source

REPORT-109728 【控件显示增强代码内置】按钮控件-字体配置部分丢失

release/11.0
obo 1 year ago
parent
commit
23a4333289
  1. 4
      designer-form/src/main/java/com/fr/design/widgettheme/processor/WidgetThemeParaCreatorPaneAdder.java

4
designer-form/src/main/java/com/fr/design/widgettheme/processor/WidgetThemeParaCreatorPaneAdder.java

@ -1,5 +1,6 @@
package com.fr.design.widgettheme.processor; package com.fr.design.widgettheme.processor;
import com.fr.design.widgettheme.ParaNormalButtonSettingPane;
import com.fr.widgettheme.util.WidgetThemeDesignerUtils; import com.fr.widgettheme.util.WidgetThemeDesignerUtils;
import com.fr.design.beans.BasicBeanPane; import com.fr.design.beans.BasicBeanPane;
import com.fr.design.designer.creator.XButton; import com.fr.design.designer.creator.XButton;
@ -20,7 +21,6 @@ import com.fr.design.widgettheme.ParaButtonSettingPane;
import com.fr.design.widgettheme.ParaEditorSettingPane; import com.fr.design.widgettheme.ParaEditorSettingPane;
import com.fr.design.widgettheme.ParaTreeEditorSettingPane; import com.fr.design.widgettheme.ParaTreeEditorSettingPane;
import com.fr.widgettheme.ParameterBackgroundStyleSettingPane; import com.fr.widgettheme.ParameterBackgroundStyleSettingPane;
import com.fr.design.widgettheme.common.NormalButtonSettingPane;
import java.util.List; import java.util.List;
@ -94,7 +94,7 @@ public class WidgetThemeParaCreatorPaneAdder {
private static <T> void acceptNormal(XCreator creator, List<BasicBeanPane<T>> extraPaneList) { private static <T> void acceptNormal(XCreator creator, List<BasicBeanPane<T>> extraPaneList) {
boolean accept = creator instanceof XButton; boolean accept = creator instanceof XButton;
if (accept) { if (accept) {
insertShortCut(extraPaneList, new NormalButtonSettingPane<>()); insertShortCut(extraPaneList, new ParaNormalButtonSettingPane<>());
} }
} }

Loading…
Cancel
Save