     
     private static function calculatePercentHeight( layoutItem:ILayoutItem, height:Number ):Number
     {
-    	var percentHeight:Number = LayoutItemHelper.pinBetween(layoutItem.percentSize.y * 0.01 * height,
+    	var percentHeight:Number = LayoutItemHelper.pinBetween(layoutItem.percentHeight * 0.01 * height,
     	                                                       layoutItem.minSize.y,
     	                                                       layoutItem.maxSize.y );
     	return percentHeight < height ? percentHeight : height;

import flash.ui.Keyboard;

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

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

        {
            if (hasPercentWidth(layoutItem))
            {
                totalPercentWidth += layoutItem.percentWidth;

                childInfo = new HLayoutItemFlexChildInfo();
                childInfo.layoutItem = layoutItem;
                childInfo.percent    = layoutItem.percentWidth;
                childInfo.min        = layoutItem.minSize.x;
                childInfo.max        = layoutItem.maxSize.x;
                
