         {
             setMajorSize(index, elt.getLayoutBoundsWidth());            
             minorSize = Math.max(minorSize, elt.getLayoutBoundsHeight());
-            var mh:Number =  isNaN(elt.percentHeight) ? elt.getPreferredBoundsWidth() : elt.getMinBoundsHeight();            
+            var mh:Number =  isNaN(elt.percentHeight) ? elt.getPreferredBoundsHeight() : elt.getMinBoundsHeight();            
             minMinorSize = Math.max(minMinorSize, mh);
         }
     }

     * 
     *  If <code>index &lt;(length-1)</code> then the value of this 
     *  function is defined as: 
     *  <code>start(index) + get(index) + gap</code>.
     * 
     *  The gap isn't added for the last item.
     * 
     *  @param index The item's index.
     *  @see #start
     */
    public function end(index:uint):Number
    {
        var distance:Number = start(index) + getMajorSize(index);
        if (index < (_length - 1))
            distance += gap;
       return distance;
    }

    /**

    //  majorAxis
    //----------------------------------
    
    private var _majorAxis:uint = VERTICAL;
    
    /**
     *  Defines how the <code>getBounds()</code> method maps from 
