      */
      public function elementAdded(index:int):void
      {
+         if (FlexVersion.compatibilityVersion >= FlexVersion.VERSION_4_5)
+         {
+             var layoutElement:ILayoutElement = target.getElementAt(index);
+             computeEstimatedSizeOfElement(layoutElement);
+         }
      }
 
     /**

import flash.geom.Rectangle;
import flash.utils.Timer;

import mx.core.ILayoutElement;
import mx.core.UIComponentGlobals;
import mx.core.mx_internal;
import mx.events.DragEvent;
import mx.managers.ILayoutManagerClient;
import mx.utils.OnDemandEventDispatcher;

import spark.components.supportClasses.GroupBase;

        }
        return local;
    }
    
}
}
