             minWidth += vgap;
         }
         
-        layoutTarget.measuredWidth = (explicitColumnCount == -1) ? preferredWidth : visibleWidth;
+        layoutTarget.measuredWidth = (reqColumns == -1) ? preferredWidth : visibleWidth;
         layoutTarget.measuredHeight = preferredHeight;
 
         layoutTarget.measuredMinWidth = minWidth; 

            preferredHeight = Math.max(preferredHeight, li.preferredSize.y);
            preferredWidth += li.preferredSize.x; 
            
            var vcr:Boolean = (explicitColumnCount != -1) && (visibleColumns < explicitColumnCount);
            if (vcr || (explicitColumnCount == -1))
            {
                var mw:Number =  hasPercentWidth(li) ? li.minSize.x : li.preferredSize.x;
                var mh:Number = hasPercentHeight(li) ? li.minSize.y : li.preferredSize.y;                   

    //  gap
    //----------------------------------

    private function invalidateTargetSizeAndDisplayList():void
    {
        var layoutTarget:Group = target;
        if (layoutTarget != null) 
        {
            layoutTarget.invalidateSize();
            layoutTarget.invalidateDisplayList();
        }
    }    

    private var _gap:int = 6;

    [Inspectable(category="General")]
