Browse Source

命名修改

bugfix/10.0
kerry 4 years ago
parent
commit
cd0a4f9bca
  1. 8
      designer-form/src/main/java/com/fr/design/designer/creator/XWAbsoluteLayout.java

8
designer-form/src/main/java/com/fr/design/designer/creator/XWAbsoluteLayout.java

@ -576,8 +576,8 @@ public class XWAbsoluteLayout extends XLayoutContainer {
*/
@Override
public void recalculateChildWidth(int width, boolean actualSize){
int componentCont = getComponentCount();
for (int i = 0; i < componentCont; i++) {
int componentCount = getComponentCount();
for (int i = 0; i < componentCount; i++) {
XCreator creator = (XCreator) getComponent(i);
creator.recalculateChildWidth(width, actualSize);
}
@ -590,8 +590,8 @@ public class XWAbsoluteLayout extends XLayoutContainer {
*/
@Override
public void recalculateChildHeight(int height, boolean actualSize){
int componentCont = getComponentCount();
for (int i = 0; i < componentCont; i++) {
int componentCount = getComponentCount();
for (int i = 0; i < componentCount; i++) {
XCreator creator = (XCreator) getComponent(i);
creator.recalculateChildHeight(height, actualSize);
}

Loading…
Cancel
Save