         {
             return IFlexDisplayObject(element).measuredHeight;
         }
-        else if (element is StyleableTextField)
-        {
-            return StyleableTextField(element).measuredTextSize.y;
-        }
-        else
+		else
         {
             return element.height;
         }

        {
            IFlexDisplayObject(element).move(x, y);   
        }
        else
        {
            element.x = x;
            element.y = y;

     */
    protected function setElementPosition(element:Object, x:Number, y:Number):void
    {
		if (element is StyleableTextField)
		{
			StyleableTextField(element).x = x - StyleableTextField.TEXT_HEIGHT_PADDING/2;
			StyleableTextField(element).y = y - StyleableTextField(element).textTopOffset;
		}
		else if (element is ILayoutElement)
        {
            ILayoutElement(element).setLayoutBoundsPosition(x, y, false);
        }
