Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Found in Flex 4.5 build 16037
Steps to reproduce:
1. Compile and run the attached MXML file.
2. Observe that there are 3 pairs of components - each Rect / VideoPlayer pair have the same size and position settings.
Actual Results: the VideoPlayer that has width, left, and right properties does not match the corresponding Rect. The other VideoPlayers do match their corresponding Rect (you can't see the rect because it's exactly behind the corresponding VideoPlayer).
Expected Results:the problem is that the Layout system is not obeying the explicit width property. Instead, it appears to be giving precedence to the video player's preferred width. The layout system should always give precedence to an explicit width property, if present.
This issue also affects other components such as Button.
Alternate steps in Catalyst:
1. import the attached FLV file, or drag a DataList or Button from the Wireframe Components panel,
2. in properties panel, set the width and height to half of the original value. (e.g. for the attached FLV, you should set the width to 211 and height to 170).
3. set rotation to 227
4. turn on left constraint
5. turn on right constraint
Actual result: the item changes shape.
Expected result: the item stays the same shape.