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