Hello, I am currently using a button bar but I would like to change the font size of the buttons to the smallest font size used in the buttons. The idea is that the I determine the font size to make the label fit in the button (fixed button width) and then use the smallest font size for all the others too.
What's the best approach? My current idea is the following: - Use an offscreen text field with the same text format to calculate the smallest font size (e.g. width > max button width then fontSize--) - Determine the smallest font size of all the buttons via Math.min ( fontSize, 9999 ); - Change fontSize style property of the button bar/buttons Are there any better approaches in Flex to do the same? Thanks, Weyert de Boer