     //
     //--------------------------------------------------------------------------
 
-    private static function hasPercentWidth( layoutItem:ILayoutItem ):Boolean
-    {
-    	return !isNaN( layoutItem.percentSize.x );
-    }
-    
-    private static function hasPercentHeight( layoutItem:ILayoutItem ):Boolean
-    {
-        return !isNaN( layoutItem.percentSize.y );
-    }
-    
     private static function calculatePercentWidth( layoutItem:ILayoutItem, width:Number ):Number
     {
     	var percentWidth:Number = LayoutItemHelper.pinBetween( layoutItem.percentSize.x * width,

        setRowCount(visibleRows);
        setIndexInView(firstRowInView, lastRowInView);
        layoutTarget.setContentSize(maxX, maxY);
    }
    
    
    /**
     *  This function sets the height of each child

        
        for (var index:int = 0; index < count; index++)
        {
            layoutItem = layoutTarget.getLayoutItemAt(index);
            if (!layoutItem || !layoutItem.includeInLayout)
                continue;

        	// Set the layout item's acutual size and position
            var x:Number = (unscaledWidth - layoutItem.actualSize.x) * hAlign;
            layoutItem.setActualPosition(x, y);
            var dx:Number = layoutItem.actualSize.x;
            if (!variableRowHeight)
                layoutItem.setActualSize(dx, rowHeight);
                
            // Update maxX,Y, first,lastVisibleIndex, and y
            var dy:Number = layoutItem.actualSize.y;
            maxX = Math.max(maxX, x + dx);
            maxY = Math.max(maxY, y + dy);
            if ((y < maxVisibleY) && ((y + dy) > minVisibleY))
