I have a form and one of the fields is a check-all-that-applies type field with several checkboxes under it. I need to display the checkboxes side by side, but since there are many, I want them to wrap to the next line.
I tried using HGroup
inside the FormItem
and around them all, but this displays them all on the same line without line wrapping.
<mx:FormItem>
<s:HGroup>
<s:CheckBox content="item 1" />
<s:CheckBox content="item 2" />
<s:CheckBox content="item 3" />
<s:CheckBox content="item 4" />
<s:CheckBox content="item 5" />
<s:CheckBox content="item 6" />
<s:CheckBox content="item 7" />
<s:CheckBox content="item 8" />
</s:HGroup>
</mx:FormItem>
I need them to display horizontally, but still wrap to the next line somehow. Any ideas?