         _paddingBottom = value;
         invalidateTargetSizeAndDisplayList();
     }    
-    
-    //----------------------------------
-    //  requestedMinColumnCount
-    //----------------------------------
-    
-    private var _requestedMinColumnCount:int = -1;
+
+    //----------------------------------
+    //  requestedMaxColumnCount
+    //----------------------------------
+    
+    private var _requestedMaxColumnCount:int = -1;
     
     [Inspectable(category="General", minValue="-1")]
     
     /**
      *  The measured width of this layout is large enough to display 
-     *  at least <code>requestedMinColumnCount</code> layout elements. 
+     *  at most <code>requestedMaxColumnCount</code> layout elements. 
      * 
      *  <p>If <code>requestedColumnCount</code> is set, then
      *  this property has no effect.</p>

    private function measureVirtual(layoutTarget:GroupBase):void
    {
        var eltCount:int = layoutTarget.numElements;
        var measuredEltCount:int = (requestedColumnCount != -1) ? requestedColumnCount : 
                                                                  Math.max(requestedMinColumnCount, eltCount);
        
        var hPadding:Number = paddingLeft + paddingRight;
        var vPadding:Number = paddingTop + paddingBottom;

     *  then this property has no effect.</p>
     * 
     *  @default -1
     *  @see #requestedColumnCount
     *  @see #requestedMinColumnCount
     *  
     *  @langversion 3.0
     *  @playerversion Flash 10
     *  @playerversion AIR 1.5
     *  @productversion Flex 4
     */
    public function get requestedMaxColumnCount():int
    {
        return _requestedMaxColumnCount;
    }
    
    /**
     *  @private
     */
    public function set requestedMaxColumnCount(value:int):void
    {
        if (_requestedMaxColumnCount == value)
            return;
        
        _requestedMaxColumnCount = value;
        
        if (target)
            target.invalidateSize();
    }   
    
    //----------------------------------
    //  requestedMinColumnCount
    //----------------------------------
    
    private var _requestedMinColumnCount:int = -1;
    
    [Inspectable(category="General", minValue="-1")]
    
    /**
     *  The measured width of this layout is large enough to display 
     *  at least <code>requestedMinColumnCount</code> layout elements. 
     * 
     *  <p>If <code>requestedColumnCount</code> is set, then
     *  this property has no effect.</p>
     *
     *  <p>If the actual size of the container using this layout has been explicitly set,
     *  then this property has no effect.</p>
     * 
     *  @default -1
     *  @see #requestedColumnCount
     *  @see #requestedMaxColumnCount
     *  
     *  @langversion 3.0
     *  @playerversion Flash 10
     *  @playerversion AIR 1.5
     *  @productversion Flex 4
     */
    public function get requestedMinColumnCount():int
    {
        return _requestedMinColumnCount;
