flex button spacing in a horizontal list
- by pfunc
How do you dynamically resize buttons in a horizontal list to fit the text size?
I am pulling in my button text from xml and it seems that it resizes all the buttons to the first items text. I am wrapping my button inside a canvas, not setting widths for either of them.
Basically I need all the buttons to resize to their text, and have them all spaced evenly as well.