Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Browser: Other (specify version)
Language Found: English
Description
On both SpinnerList and Scroller the layout property cannot be set (and there may be other instances). Whilst this makes sense for VGroup and HGroup it really doesn't make sense on a Scroller and SpinnerList.
If the layout needs to have particular methods/properties please do a check inside the setter for layout for an interface and throw and error if the layout set doesn't implement the interface (this would be the case for the SpinnerList layouts).
For instance I needed to set set a HorizontalSpinnerListLayout and I also have a custom layout for a scroller which allows the user to position the scrollbars so that the buttons for a are placed to the left, right, top and bottom of the content (I can upload an example of this if it would be useful).
At the moment to set a custom layout of these classes you have to extend them and do some fudging.