         {
             var elt:ILayoutElement = layoutTarget.getLayoutElementAt(index);
             var h:Number = (isNaN(fixedRowHeight)) ? elt.getPreferredBoundsHeight() : fixedRowHeight;
-            var w:Number = calculateElementWidth(elt, targetWidth, contentWidth);
+            var w:Number = calculateElementWidth(elt, targetWidth, containerWidth);
             var x:Number = calculateElementX(elt, w, containerWidth);
             elt.setLayoutBoundsPosition(x, y);
             elt.setLayoutBoundsSize(w, h);            

    }
    
    //  - virtual layout only - 
    private function calculateElementWidth(elt:ILayoutElement, targetWidth:Number, contentWidth:Number):Number
    {
       // If percentWidth is specified then the element's width is the percentage
       // of targetWidth clipped to min/maxWidth and to (upper limit) targetWidth.

                for (index = startIndex; index <= endIndex; index++)
                {
                    elt = layoutTarget.getLayoutElementAt(index);
                    w = calculateElementWidth(elt, targetWidth, containerWidth);
                    x = calculateElementX(elt, w, containerWidth);
                    elt.setLayoutBoundsPosition(x, elt.getLayoutBoundsY());
                    elt.setLayoutBoundsSize(w, elt.getLayoutBoundsHeight());         
