I am having a really frustrating problem at the moment I am developing an app for Android and I have placed some Buttons on a screen, these Buttons have text and an icon on then and they seem to only align to the center of the button. This is very annoying as I want them to look nice and align all to the left of the Buttons. Can anyone please help me with this as I really want to sort this and it must be easy and im missing something simple?????
I found the same problem while working with spark button mobile skin. I managed the issue by making custom skin class for button.
MyButtonSkin extends ButtonSkinBase(Simply copy all contents of "spark.skins.mobile.supportClasses.ButtonSkinBase" in your class and rename the class, constructor and package accordingly)
Inside constructor of your skin class add this line "useCenterAlignment = false". This property is used to check whether text should be align center or not.
This works for me and hope will help for someone who is facing the same issue.