Skip to main content
Adobe Employee
March 17, 2010
Question

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

  • March 17, 2010
  • 0 replies
  • 517 views

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

This topic has been closed for replies.