|
|
|
@ -39,6 +39,7 @@ import com.fr.design.designer.creator.XWParameterLayout;
|
|
|
|
|
import com.fr.design.designer.properties.FormWidgetAuthorityEditPane; |
|
|
|
|
import com.fr.design.event.TargetModifiedEvent; |
|
|
|
|
import com.fr.design.event.TargetModifiedListener; |
|
|
|
|
import com.fr.design.file.HistoryTemplateListCache; |
|
|
|
|
import com.fr.design.fun.FormAdaptiveConfigUIProcessor; |
|
|
|
|
import com.fr.design.fun.PreviewProvider; |
|
|
|
|
import com.fr.design.fun.PropertyItemPaneProvider; |
|
|
|
@ -1199,6 +1200,7 @@ public class JForm extends JTemplate<Form, FormUndoState> implements BaseJForm<F
|
|
|
|
|
|
|
|
|
|
getTarget().setTemplateTheme(newTheme, compatible); |
|
|
|
|
|
|
|
|
|
if (HistoryTemplateListCache.getInstance().getCurrentEditingTemplate() == this) { |
|
|
|
|
fireTargetModified(shouldCreateUndoState); |
|
|
|
|
formDesign.refreshRoot(); |
|
|
|
|
// 刷新界面后恢复原来的尺寸
|
|
|
|
@ -1217,6 +1219,7 @@ public class JForm extends JTemplate<Form, FormUndoState> implements BaseJForm<F
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
FormHierarchyTreePane.getInstance().refreshRoot(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
super.setTemplateTheme(newTheme, compatible); |
|
|
|
|
} |
|
|
|
|