Browse Source

MOBILE-24962 非手机重布局下 不显示

feature/big-screen
hades 5 years ago
parent
commit
eed4bb0b50
  1. 6
      designer-form/src/main/java/com/fr/design/widget/ui/designer/mobile/BodyMobileDefinePane.java

6
designer-form/src/main/java/com/fr/design/widget/ui/designer/mobile/BodyMobileDefinePane.java

@ -115,8 +115,9 @@ public class BodyMobileDefinePane extends MobileWidgetDefinePane {
boolean flag = !shouldHidePadding(designer); boolean flag = !shouldHidePadding(designer);
advancePane.setVisible(flag); advancePane.setVisible(flag);
layoutPane.setVisible(flag); layoutPane.setVisible(flag);
frozenPane.setVisible(appRelayoutCheck.isSelected()); boolean appRelayout = FormDesignerUtils.isAppRelayout(designer);
bookMarkSettingPane.setVisible(appRelayoutCheck.isSelected()); frozenPane.setVisible(appRelayout);
bookMarkSettingPane.setVisible(appRelayout);
return holder; return holder;
} }
@ -172,6 +173,7 @@ public class BodyMobileDefinePane extends MobileWidgetDefinePane {
advancePane.setVisible(appPaddingVisible); advancePane.setVisible(appPaddingVisible);
layoutPane.setVisible(appPaddingVisible); layoutPane.setVisible(appPaddingVisible);
frozenPane.setVisible(appRelayout); frozenPane.setVisible(appRelayout);
bookMarkSettingPane.setVisible(appRelayout);
mobileWidgetListPane.updateToDesigner(); mobileWidgetListPane.updateToDesigner();
designer.getEditListenerTable().fireCreatorModified(DesignerEvent.CREATOR_EDITED); designer.getEditListenerTable().fireCreatorModified(DesignerEvent.CREATOR_EDITED);

Loading…
Cancel
Save