0 Replies Latest reply on Feb 3, 2007 2:03 PM by WestSide

    Help aligning controlls in an HBox

    WestSide Level 1
      Hi

      I have the following code and I can't seem to get the radio buttons to line up nicely.

      I would like the two buttons where they are, but I have the radio button aligned all the way to the left. The radio buttons *also* seemed push up very high and the alignment just looks awful. I am hoping somethin can be done.

      The following code appears directly under my my datagrid so right after the </mx:DataGrid> I have this:

      <mx:HBox >

      <mx:ButtonBar id="btnBarList" itemClick="clickHandler(event)">
      <mx:dataProvider>
      <mx:Object label="Add" />
      <mx:Object label="Find"/>
      </mx:dataProvider>
      </mx:ButtonBar>

      <mx:RadioButtonGroup id="someType" itemClick="filtertList( event )" />
      <mx:RadioButton groupName="someType" id="his" value="his" label="His " />
      <mx:RadioButton groupName="someType" id="hers" value="hers" label="Hers" />

      </mx:HBox>

      Thanks,

      -Westside