         {
             if (hasPercentHeight(layoutItem))
             {
-                totalPercentHeight += layoutItem.percentSize.y;
+                totalPercentHeight += layoutItem.percentHeight;
 
                 childInfo = new LayoutItemFlexChildInfo();
                 childInfo.layoutItem = layoutItem;
-                childInfo.percent    = layoutItem.percentSize.y;
+                childInfo.percent    = layoutItem.percentHeight;
                 childInfo.min        = layoutItem.minSize.y;
                 childInfo.max        = layoutItem.maxSize.y;
                 

import flash.ui.Keyboard;

import mx.components.baseClasses.GroupBase;
import mx.graphics.IGraphicElement;

import mx.containers.utilityClasses.Flex;
import mx.events.PropertyChangeEvent;


    private static function calculatePercentWidth( layoutItem:ILayoutItem, width:Number ):Number
    {
    	var percentWidth:Number = LayoutItemHelper.pinBetween( layoutItem.percentWidth * 0.01 * width,
    	                                                       layoutItem.minSize.x,
    	                                                       layoutItem.maxSize.x );
    	return percentWidth < width ? percentWidth : width;
