     
     private static function calculatePercentHeight(layoutElement:ILayoutElement, height:Number):Number
     {
-    	var percentHeight:Number = LayoutElementHelper.pinBetween(layoutElement.percentHeight * 0.01 * height,
+    	var percentHeight:Number = LayoutElementHelper.pinBetween(Math.round(layoutElement.percentHeight * 0.01 * height),
     	                                                          layoutElement.getMinBoundsHeight(),
     	                                                          layoutElement.getMaxBoundsHeight() );
     	return percentHeight < height ? percentHeight : height;
     }
-    
+
     private static function sizeLayoutElement(layoutElement:ILayoutElement, height:Number, 
                                               verticalAlign:String, restrictedHeight:Number, 
                                               width:Number, variableColumnWidth:Boolean, 

                                                                spaceToDistribute,
                                                                totalPercentWidth,
                                                                childInfoArray);
            
            for each (childInfo in childInfoArray)
            {
                sizeLayoutElement(childInfo.layoutElement, height, verticalAlign, 
                               restrictedHeight, childInfo.size, 
                               variableColumnWidth, cw); 
            }
        }
        return spaceToDistribute;

       switch(verticalAlign)
       {
           case VerticalAlign.MIDDLE: 
               return Math.round((containerHeight - eltHeight) * 0.5);
           case VerticalAlign.BOTTOM: 
               return containerHeight - eltHeight;
       }
