0 Replies Latest reply on Sep 25, 2009 2:13 PM by GordonSmith

    [svn:fx-trunk] 10601: TextBase no longer overrides validateBaselinePosition ().

    GordonSmith Level 4

      Revision: 10601

      Author:   gosmith@adobe.com

      Date:     2009-09-25 14:12:48 -0700 (Fri, 25 Sep 2009)

       

      Log Message:

      ***********

      TextBase no longer overrides validateBaselinePosition(). It was the only UIComponent to do so. Since the override didn't have the same logic as in UIComponent for the case where the component's actual width or height has not yet been calculated, it caused the baselinePosition of a Spark Label or RichText to be reported as 0 if you access it early.

       

      QE notes: None

      Doc notes: None

      Bugs: SDK-23411

      Reviewer: Hans, Evtim

      Tests run: ant checkintests

      Is noteworthy for integration: No

       

      Ticket Links:

      ************

          http://bugs.adobe.com/jira/browse/SDK-23411

       

      Modified Paths:

      **************

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as