|
|
@ -1010,7 +1010,6 @@ public class FormDesigner extends TargetComponent<Form> implements TreeSelection |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private void refreshCenter(Widget centerWidget, XLayoutContainer formLayoutContainer) { |
|
|
|
private void refreshCenter(Widget centerWidget, XLayoutContainer formLayoutContainer) { |
|
|
|
// 不存在center块, 说明是新建的模板(fanglei:大人,时代变了)
|
|
|
|
|
|
|
|
XLayoutContainer centerContainer = (XLayoutContainer) XCreatorUtils.createXCreator(centerWidget); |
|
|
|
XLayoutContainer centerContainer = (XLayoutContainer) XCreatorUtils.createXCreator(centerWidget); |
|
|
|
Dimension d = new Dimension(); |
|
|
|
Dimension d = new Dimension(); |
|
|
|
d.width = ((WFitLayout) centerWidget).getContainerWidth(); |
|
|
|
d.width = ((WFitLayout) centerWidget).getContainerWidth(); |
|
|
|