How can I control the direction of radio buttons in Flex?
Posted on 2009-12-17
I have a Flex app with a bunch of questions and a few radio buttons with multiple choice answers to each question. Right now, they all display vertically. I know I can put them in a container like hbox and they'll display horizontally, but I want more control. An hbox works fine if the choices are true and false, but not so well if there are four choices and they're all heavy on text. What I'd like to be able to specify is that the layout is horizontal with a maximum of two choices per row. So, a question with four choices will have two rows of radio buttons.