             // correct amount of space for the component.
             invalidateSize();
             
+            // Need to make sure the container is updated after the text is re-composed 
+            // to measure it.
+            remeasuringText = true;
+            
             return true;            
         }
         

         *  contents.
         */
        mx_internal var autoSize:Boolean = false;
        
        /**
         *  @private

        /**
         *  @private
         */
        private var remeasuringText:Boolean = false;

        /**
         *  @private
         */
        mx_internal var passwordChar:String = "*";
        
        /**
