                 childHeight = unscaledHeight - bottom - top;
             else
                 childHeight = Math.max(itemMinSize.y, Math.min(itemMaxSize.y, childHeight));
-			
+            
             // Set size, no need to clip to min/max
             // TODO!!! incorporate min/maxSize
             var actualSize:Point = layoutItem.setActualSize(childWidth, childHeight);

            var right:Number   = LayoutItemHelper.getConstraint(layoutItem, "right");
            var top:Number     = LayoutItemHelper.getConstraint(layoutItem, "top");
            var bottom:Number  = LayoutItemHelper.getConstraint(layoutItem, "bottom");
			var itemMinSize:Point = layoutItem.minSize;
			var itemMaxSize:Point = layoutItem.maxSize;

            // Calculate size
            var childWidth:Number = NaN;

    //--------------------------------------------------------------------------

    /**
     *  Constructor.
     */
    public function BasicLayout():void
    {
        super();
    }

    //--------------------------------------------------------------------------
