/[Apache-SVN]
ViewVC logotype

Revision 1269128


Jump to revision: Previous Next
Author: (unknown author)
Date: Tue Jan 31 03:15:06 2012 UTC (12 years, 2 months ago)
Changed paths: 1
Log Message:
Transferred from the Adobe Open Source Subversion Repository

Revision: 14966
Author:   klin@adobe.com
Date:     2010-03-23T21:53:53.095287Z

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 “rtl” when the dragInitiator is also "rtl". It doesn’t inherit the layoutDirection because it is a child of the systemManager. I’ve also included the fix for the fallout from SpriteAsset by setting layoutDirection on those specific instances to null (inheriting) instead of their default “ltr”.

QE notes: Need updates to mirrored Tree bitmaps.
Doc notes: No
Bugs: SDK-25909
Reviewer: Jason
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/TreeItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridBase.as</path>

Changed paths

Path Details
Directoryincubator/flex/trunk/frameworks/projects/mx/src/mx/controls/treeClasses/TreeItemRenderer.as modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26