4 Replies Latest reply on Feb 4, 2011 7:05 AM by Pablo Souza

    Spark Checkbox/Label vertical alignment

    etr34t

      I need to have a checkbox and a label in the same horizontal line. Implemented like this:

        <s:HGroup verticalAlign="middle" >
          <s:CheckBox label="Checkbox"  />
          <s:Label text="Label" />
        </s:HGroup>

      the checkbox and the label aren't aligned.

      align.png

      How can I have them aligned correctly?