Browse Source

代码修改

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

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

@ -130,11 +130,9 @@ 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(XWScaleLayout.class)) {
if (xCreator.getComponentCount() > 0 && ((XCreator) xCreator.getComponent(0)).shouldScaleCreator()) {
creator = (XCreator) xCreator.getComponent(0);
}
}
if(xCreator.acceptType(XWTitleLayout.class)){

Loading…
Cancel
Save