Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. Create a new Flex mobile application with this view:
<?xml version="1.0" encoding="utf-8"?>
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
title="NewView">
<s:SpinnerList id="target">
<s:dataProvider>
<s:ArrayList>
<s:source>
[1,10, 100]
</s:source>
</s:ArrayList>
</s:dataProvider>
</s:SpinnerList>
</s:View>
2.
3.
Actual Results:
All items look like "1"
Expected Results:
Since all of these renderers are initially in view and there are no size constraints on the SpinnerList I would expect the SpinnerList to be smart enough to show the whole width of each renderer.
There is another case where a longer item is initially out of view and then comes into view.
Workaround (if any):
- set typicalItem on the SpinnerList to the largest item in the dataProvider (When this size is defined by text this isn't always easy to determine which string is visually the longest)