      */
     public function setLayoutBoundsSize(width:Number, height:Number, postLayoutTransform:Boolean=true):void
     {
+        inSetLayoutBoundsSize = true;  // UI[FTE]TextField/setActualSize() sets width,height
+        
         setActualSize(width - (LEFT_PADDING + RIGHT_PADDING), height - (TOP_PADDING + BOTTOM_PADDING));
         preferredSizeInvalid = true;
-    }
+        
+        inSetLayoutBoundsSize = false;        
+    }
+    
     
     /**
      *  @private

        text = _label;
        super.validateNow();
        
        const widthPadding:int = LEFT_PADDING + RIGHT_PADDING + TEXT_WIDTH_PADDING;
        const heightPadding:int = TOP_PADDING + BOTTOM_PADDING + TEXT_HEIGHT_PADDING
        
        if (!stage || embedFonts)
        {
            preferredWidth = textWidth + widthPadding;
            preferredHeight = textHeight + heightPadding;
        }
        else 
        {
            const m:Matrix = transform.concatenatedMatrix;      
            preferredWidth = Math.abs((textWidth * m.a / m.d)) + widthPadding;
            preferredHeight  = Math.abs((textHeight * m.a / m.d)) + heightPadding;
        }
        
        preferredSizeInvalid = false;

    {
        _styleDeclaration = value;
    }
    
    
    //--------------------------------------------------------------------------
    //
