 	        {
 	            var layoutElement:ILayoutElement = layoutTarget.getLayoutElementAt(i);
 	            if (!layoutElement || !layoutElement.includeInLayout) continue;
-	            rowHeight = Math.max(rowHeight, layoutElement.getPreferredHeight());
-	            var elementMinHeight:Number = hasPercentHeight(layoutElement) ? layoutElement.getMinHeight() : layoutElement.getPreferredHeight();
+	            rowHeight = Math.max(rowHeight, layoutElement.getPreferredBoundsHeight());
+	            var elementMinHeight:Number = hasPercentHeight(layoutElement) ? layoutElement.getMinBoundsHeight() : layoutElement.getPreferredBoundsHeight();
 	            minRowHeight = Math.max(minRowHeight, elementMinHeight);
 	        }
         }     

        var element:ILayoutElement = g.getLayoutElementAt(i);
        if (element && element.includeInLayout)
        {
            return new Rectangle(element.getLayoutPositionX(),
                                 element.getLayoutPositionY(),
                                 element.getLayoutWidth(),
                                 element.getLayoutHeight());        
        }
        return null;    
    }

        // index is first (c0) or last (c1) visible column
        var x0:Number = g.horizontalScrollPosition;
        var x1:Number = x0 + g.width;
        var ix0:Number = le.getLayoutBoundsX();
        var ix1:Number = ix0 + le.getLayoutBoundsWidth();
        if (ix0 >= ix1)  // element has 0 or negative width
            return 1.0;
        if ((ix0 >= x0) && (ix1 <= x1))
