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

    [svn:fx-4.x] 14833: Fix for http://bugs.adobe.com/jira/browse/SDK-25881.

    kevinklin Adobe Employee

      Revision: 14833

      Revision: 14833

      Author:   klin@adobe.com

      Date:     2010-03-17 16:37:18 -0700 (Wed, 17 Mar 2010)

      Log Message:

      ***********

      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?\226?\128?\153t 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/branches/4.x/frameworks/projects/framework/src/mx/core/UIComponent.as