             invalidateTightTextHeight = true;
         }
     }
-    
+
     /**
      *  @copy mx.core.UIComponent#getStyle()
      *

    {
        if (invalidateStyleFlag)
        {
            var align:String = getStyle("textAlign");
            if (align == "start")
                align = TextFormatAlign.LEFT;
            if (align == "end")
                align = TextFormatAlign.RIGHT;
            textFormat.align = align;
            textFormat.font = getStyle("fontFamily");
            textFormat.bold = getStyle("fontWeight") == "bold";

    mx_internal var leftMargin:Object;
    mx_internal var rightMargin:Object;
    
    private static const supportedStyles:Vector.<String> = new <String>["textAlign", "fontFamily", "fontWeight", "fontStyle", "color", "fontSize"    , "textDecoration","textIndent" ,"leading" ,"letterSpacing" ,"layoutDirection"];
    
    private var invalidateStyleFlag:Boolean = true;
    
