0 Replies Latest reply on Mar 17, 2010 4:43 PM by kevinklin

    [svn:fx-trunk] 14834: Merge revision 14833 from 4.x to trunk.

    kevinklin Adobe Employee

      Revision: 14834

      Revision: 14834

      Author:   klin@adobe.com

      Date:     2010-03-17 16:43:45 -0700 (Wed, 17 Mar 2010)

      Log Message:

      ***********

      Merge revision 14833 from 4.x to trunk.

       

      Fix for http://bugs.adobe.com/jira/browse/SDK-25881. Using states with layoutDirection was broken. The issue was that in commitProperties of UIComponent, states were trying to set layoutDirection after we've already dealt with layoutDirection. The state would try to set layoutDirection, but since we are already in commitProperties, the eventual invalidateProperties call in the layoutDirection setter (through styleChanged) doesn't do anything. The fix is to have states resolved before calling invalidateLayoutDirection in commitProperties, so we can pick up on state-specific values of layoutDirection.

       

      QE notes: No

      Doc notes: No

      Bugs: SDK-25881

      Reviewer: Carol, Hans

      Tests run: checkintests

      Is noteworthy for integration: No

       

      Ticket Links:

      ***********

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

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

       

      Modified Paths:

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

          flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as

       

      Property Changed:

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

          flex/sdk/trunk/