Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Horizontal align components inside HBox from Action Script

Is there any way to set horizontalAlign from Action Script not from mxml?

like image 845
zvjerka24 Avatar asked Feb 28 '23 04:02

zvjerka24


1 Answers

Try this:

setStyle("horizontalAlign", "center");
like image 112
sharvey Avatar answered Mar 23 '23 09:03

sharvey



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!