Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Adobe Flex SDK Previous
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
In SparkButtonSkin.as alignLabelForPlacement the text alignment should be "start" rather than "left" so it will support rtl correctly.
var alignment:String =
iconPlacement == IconPlacement.LEFT ||
iconPlacement == IconPlacement.RIGHT ? "left" : "center"
This problem won't be obvious unless the text field in the button has a fixed width which is larger than the width of the text.