svn changeset:5844/svn branch:trunk
DOM.setStyleAttribute(root, "marginBottom", activeMargins\r
.getMarginBottom()\r
+ "px");\r
- \r
+\r
}\r
\r
protected boolean measureMarginsAndSpacing(String styleName,\r
// Remove all children after position "pos" but leave the clear element\r
// in place\r
\r
- int toRemove = getChildren().size() - pos - 1;\r
+ int toRemove = getChildren().size() - pos;\r
while (toRemove-- > 0) {\r
ChildComponentContainer child = (ChildComponentContainer) getChildren()\r
.get(pos);\r