Why "textAlign" style is excluded from s:Button?
Hi all,
Spark Button excludes style "textAlign" in its current implementation and I do not see a reason why it is so.
Default ButtonSkin for Spark Button uses <s:Label> to display button's label and <s:Label> supports "textAlign" style without no problem.
The change to Button's style "textAlign" could be easily propagated to s:Label in skin via binding, e.g, but it is not done it default skin.
<s:Label id="labelDisplay" textAlign="{getStyle('textAlign')}" verticalAlign="middle" maxDisplayedLines="1" horizontalCenter="0" verticalCenter="1" left="10" right="10" top="2" bottom="2"> </s:Label>
