Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
Adobe Flex SDK 4.0 (Release)
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Browser: Other (specify version)
Language Found: English
Description
First bug, so bear with me...
In the mx.containers.Tile class, we do not expose (at least) the following two properties):
horizontalGap
verticalGap
And I don't recognize those as being traditional css attributes. So... my question is where do we draw the line between which properties to expose as class publics, vs which properties we set thru setStyle(str, str).
As a developer, how can I intuitively know which properties to set via .as vs inline mxml vs .css?
Ideally, it would be nice to have all the properties available via the class, but I understand this will increase the code footprint.
Steps to reproduce:
1. var tile:Tile = new Tile();
2. tile.horizontalGap = 10; <-- doesn't exist
3. compile
Actual Results:
compiler error
Expected Results:
the properties exposed via mxml should be exposed as class public properties.
Workaround (if any):
tile.setStyle("horizontalGap", 10);