     public function styleChanged(styleProp:String):void
     {
         StyleProtoChain.styleChanged(this, styleProp);
+        
+        if (styleProp == "lineBreak")
+        {
+            mx_internal::lineBreakToFit = 
+                (getStyle("lineBreak") == LineBreak.TO_FIT);
+        }
+           
+        mx_internal::stylesChanged = true;
     }
 
     //--------------------------------------------------------------------------

     *  because Player 10.0 allocates a surface even in this case.
     */
    mx_internal var hasScrollRect:Boolean = false;

    //--------------------------------------------------------------------------
    //

import flash.events.Event;
import flash.geom.Rectangle;
import flash.text.engine.TextLine;

import flashx.textLayout.formats.LineBreak;

import mx.core.mx_internal;
import mx.resources.IResourceManager;
