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