                 ((y < maxVisibleY) && ((y + dy) > minVisibleY)) || 
                 ((dy <= 0) && ((y == maxVisibleY) || (y == minVisibleY))))
             {
-            	visibleRows += 1;
-            	if (firstRowInView == -1)
-            	   firstRowInView = lastRowInView = index;
-            	else
-            	   lastRowInView = index;
+                visibleRows += 1;
+                if (firstRowInView == -1)
+                   firstRowInView = lastRowInView = index;
+                else
+                   lastRowInView = index;
             }
             y += dy + gap;
         }

            return 1.0;

        // get the layout element's Y and Height
	    var eltY:Number;
	    var eltHeight:Number;
	    if (useVirtualLayout)
	    {
	        eltY = llv.start(index);
	        eltHeight = llv.getMajorSize(index);
	    }
	    else 
	    {
            var elt:ILayoutElement = g.getElementAt(index);
            if (!elt || !elt.includeInLayout)
                return 0.0;
            eltY = elt.getLayoutBoundsY();
            eltHeight = elt.getLayoutBoundsHeight();
	    }
            
        // So, index is either the first or last row in the scrollRect
        // and potentially partially visible.

    [Inspectable(category="General")]

    /**
     *  If <code>variableRowHeight</code> is <code>false</code>, then 
     *  this property specifies the actual height of each child.
     * 
     *  <p>If <code>variableRowHeight</code> is <code>true</code>, 
     *  the default, then this property has no effect.</p>
     * 
     *  <p>The default value of this property is the preferred height
     *  of the <code>typicalLayoutElement</code>.</p>
     *  
     *  @langversion 3.0
     *  @playerversion Flash 10
