             }
 
             // Apply min and max constraints, make sure min is applied last. In the cases
-            // where childWidth and childHeight are NaN, setLayoutSize will use preferredSize
+            // where childWidth and childHeight are NaN, setLayoutBoundsSize will use preferredSize
             // which is already constrained between min and max.
             if (!isNaN(childWidth))
-                childWidth = Math.max(layoutElement.getMinWidth(), Math.min(elementMaxWidth, childWidth));
+                childWidth = Math.max(layoutElement.getMinBoundsWidth(), Math.min(elementMaxWidth, childWidth));
             if (!isNaN(childHeight))
-                childHeight = Math.max(layoutElement.getMinHeight(), Math.min(elementMaxHeight, childHeight));
+                childHeight = Math.max(layoutElement.getMinBoundsHeight(), Math.min(elementMaxHeight, childHeight));
 
             // Set the size.
-            layoutElement.setLayoutSize(childWidth, childHeight);
-            var elementWidth:Number = layoutElement.getLayoutWidth();
-            var elementHeight:Number = layoutElement.getLayoutHeight();
+            layoutElement.setLayoutBoundsSize(childWidth, childHeight);
+            var elementWidth:Number = layoutElement.getLayoutBoundsWidth();
+            var elementHeight:Number = layoutElement.getLayoutBoundsHeight();
 
             // Horizontal position
             if (!isNaN(hCenter))

            else if (!isNaN(right))
                childX = unscaledWidth - elementWidth - right;
            else // since setting actual size might have moved the actual position, we need to reset here            
            	childX = layoutElement.getLayoutPositionX();

            // Vertical position
            if (!isNaN(vCenter))

            else if (!isNaN(bottom))
                childY = unscaledHeight - elementHeight - bottom;
           	else  // since setting actual size might have moved the actual position, we need to reset here
           		childY = layoutElement.getLayoutBoundsY();

            // Set position
            layoutElement.setLayoutBoundsPosition(childX, childY);

            // update content limits
            maxX = Math.max(maxX, childX + elementWidth);
