Browse Source

代码修改

master
kerry 7 years ago
parent
commit
d61fb93edd
  1. 2
      designer_form/src/com/fr/design/mainframe/widget/ui/FormWidgetCardPane.java

2
designer_form/src/com/fr/design/mainframe/widget/ui/FormWidgetCardPane.java

@ -130,13 +130,11 @@ public class FormWidgetCardPane extends AbstractAttrNoScrollPane {
private void initDefinePane() {
currentEditorDefinePane = null;
XCreator creator = xCreator;
if (xCreator instanceof XWScaleLayout ) {
if (xCreator.acceptType(XWScaleLayout.class)) {
if (xCreator.getComponentCount() > 0 && ((XCreator) xCreator.getComponent(0)).shouldScaleCreator()) {
creator = (XCreator) xCreator.getComponent(0);
}
}
}
if(xCreator.acceptType(XWTitleLayout.class)){
creator = (XCreator) xCreator.getComponent(0);
}

Loading…
Cancel
Save