[svn:fx-trunk] 14966: Merge 14965 from 4.x to trunk.
Revision: 14966
Revision: 14966
Author: klin@adobe.com
Date: 2010-03-23 14:53:53 -0700 (Tue, 23 Mar 2010)
Log Message:
***********
Merge 14965 from 4.x to trunk.
Fix for http://bugs.adobe.com/jira/browse/SDK-25909 and another underlying List/Tree/DataGrid issue. The bug was that the dragProxy for a TileList and HorizontalList didn't have the right layoutDirection causing it to be incorrectly positioned. While investigating the issue, I found that there was some fallout from changing SpriteAsset. The selection and rollover highlights on a List were disappearing. It turns out that List and DataGrid create their own SpriteAssets for creating certain indicators (like highlight and selection), while Tree creates it to wrap the disclosureIcon.
The fix for first bug is to set the layoutDirection of the dragProxy to ?\226?\128?\156rtl?\226?\128?\157 when the dragInitiator is also "rtl". It doesn?\226?\128?\153t inherit the layoutDirection because it is a child of the systemManager. I?\226?\128?\153ve also included the fix for the fallout from SpriteAsset by setting layoutDirection on those specific instances to null (inheriting) instead of their default ?\226?\128?\156ltr?\226?\128?\157.
QE notes: Need updates to mirrored Tree bitmaps.
Doc notes: No
Bugs: SDK-25909
Reviewer: Jason
Tests run: checkintests
Is noteworthy for integration: No
Ticket Links:
***********
http://bugs.adobe.com/jira/browse/SDK-25909
http://bugs.adobe.com/jira/browse/SDK-25909
Modified Paths:
**************
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridBase.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/TreeItemRenderer.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as
Property Changed:
****************
flex/sdk/trunk/
