Browse Source

Merge pull request #603 in BA/design from ~FANGLEI/design:dev to dev

* commit 'ac2e680148388de81bb5d8b80320e6a65b1e47e8':
  返回空数组
  解决tab块设置自适应布局的时候->移动端->显示手机重布局的bug
master
superman 8 years ago
parent
commit
2008f06d62
  1. 11
      designer_form/src/com/fr/design/designer/creator/cardlayout/XWTabFitLayout.java

11
designer_form/src/com/fr/design/designer/creator/cardlayout/XWTabFitLayout.java

@ -14,7 +14,9 @@ import com.fr.design.designer.creator.CRPropertyDescriptor;
import com.fr.design.designer.creator.XCreator;
import com.fr.design.designer.creator.XLayoutContainer;
import com.fr.design.designer.creator.XWFitLayout;
import com.fr.design.designer.properties.mobile.BodyMobilePropertyUI;
import com.fr.design.form.util.XCreatorConstants;
import com.fr.design.fun.WidgetPropertyUIProvider;
import com.fr.design.mainframe.FormDesigner;
import com.fr.design.mainframe.FormHierarchyTreePane;
import com.fr.design.mainframe.widget.editors.PaddingMarginEditor;
@ -367,4 +369,13 @@ public class XWTabFitLayout extends XWFitLayout {
public XLayoutContainer getTopLayout() {
return this.getBackupParent().getTopLayout();
}
/**
* 重写这个方法解决tab块底下仍然显示手机重布局的bug
* @return
*/
@Override
public WidgetPropertyUIProvider[] getWidgetPropertyUIProviders() {
return new WidgetPropertyUIProvider[0];
}
}
Loading…
Cancel
Save