         if (!layoutTarget)
             return;
             
-        var hPadding:Number = paddingLeft + paddingRight;
-        var vPadding:Number = paddingTop + paddingBottom;
-
-        if (layoutTarget.numElements == 0)
-        {
-            layoutTarget.measuredWidth = layoutTarget.measuredMinWidth = hPadding;
-            layoutTarget.measuredHeight = layoutTarget.measuredMinHeight = vPadding;
-        }            
-        else if (useVirtualLayout)
+        if (useVirtualLayout)
             measureVirtual(layoutTarget);
         else 
             measureReal(layoutTarget);


		// Don't drag-scroll in the vertical direction
		dragScrollRegionSizeVertical = 0;
    }
    
    //--------------------------------------------------------------------------

{
    public var layoutElement:ILayoutElement;    
}

class SizesAndLimit
{
    public var preferredSize:Number;
    public var minSize:Number;
}
