                 for (index = startIndex; index <= endIndex; index++)
                 {
                     elt = layoutTarget.getLayoutElementAt(index);
-                    h = calculateElementHeight(elt, targetHeight, contentHeight);
+                    h = calculateElementHeight(elt, targetHeight, containerHeight);
                     y = calculateElementY(elt, h, containerHeight);
                     elt.setLayoutBoundsPosition(elt.getLayoutBoundsX(), y);
                     elt.setLayoutBoundsSize(elt.getLayoutBoundsWidth(), h);

           case VerticalAlign.JUSTIFY: 
               return targetHeight;
           case VerticalAlign.CONTENT_JUSTIFY: 
               return Math.max(elt.getPreferredBoundsHeight(), contentHeight);
       }
       return elt.getPreferredBoundsHeight();
    }

        {
            var elt:ILayoutElement = layoutTarget.getLayoutElementAt(index);
            var w:Number = (isNaN(fixedColumnWidth)) ? elt.getPreferredBoundsWidth() : fixedColumnWidth;
            var h:Number = calculateElementHeight(elt, targetHeight, containerHeight);
            var y:Number = calculateElementY(elt, h, containerHeight);
            elt.setLayoutBoundsPosition(x, y);
            elt.setLayoutBoundsSize(w, h);            
