       			rowHeight = layoutTarget.getLayoutItemAt(0).preferredSize.y;
         	setRowHeight(rowHeight);
         }
-        
-        var visibleRows:uint = (explicitRowCount == -1) ? rows : explicitRowCount;
+
+        var reqRows:int = requestedRowCount;
+        var visibleRows:uint = (reqRows == -1) ? rows : reqRows;
         var contentHeight:Number = (rows * rowHeight) + ((rows > 1) ? (gap * (rows - 1)) : 0);
         var visibleHeight:Number = (visibleRows * rowHeight) + ((visibleRows > 1) ? (gap * (visibleRows - 1)) : 0);
         

package flex.layout
{
import flash.geom.Rectangle;

import flex.core.Group;
import flex.intf.ILayout;
import flex.intf.ILayoutItem;

import mx.containers.utilityClasses.Flex;


/**
 *  Documentation is not currently available.
 */
public class VerticalLayout implements ILayout
{
    include "../core/Version.as";
    

     * 
     *  @default -1
     */
    public function get requestedRowCount():int
    {
        return _requestedRowCount;
    }

    /**
     *  @private
     */
    public function set requestedRowCount(value:int):void
    {
        if (_requestedRowCount == value)
            return;
                               
        _requestedRowCount = value;
        invalidateTargetSizeAndDisplayList();
    }    
    

    //----------------------------------
    //  explicitRowHeight
