         // TODO EGeorgie: horizontalAlign
         var hAlign:Number = 0;
         
-        // If rowCount wasn't set, then as the LayoutItems are positioned
-        // we'll count how many rows fall within the layoutTarget's scrollRect
+        // As the LayoutItems are positioned, we'll count how many rows 
+        // fall within the layoutTarget's scrollRect
         var visibleRows:uint = 0;
         var minVisibleY:Number = layoutTarget.verticalScrollPosition;
         var maxVisibleY:Number = minVisibleY + unscaledHeight;

    //----------------------------------
    //  gap
    //----------------------------------
    
    private var _gap:int = 6;
    

            preferredWidth = Math.max(preferredWidth, li.preferredSize.x);
            preferredHeight += li.preferredSize.y; 
            
            var vrr:Boolean = (reqRows != -1) && (visibleRows < reqRows);

            if (vrr || (reqRows == -1))
            {
                var mw:Number =  hasPercentWidth(li) ? li.minSize.x : li.preferredSize.x;
                var mh:Number = hasPercentHeight(li) ? li.minSize.y : li.preferredSize.y;                   
