2 Replies Latest reply on Jan 16, 2007 12:31 PM by Jason.McKinney

    Remove All Spacing Between Components

    Jason.McKinney
      I simply have two Labels in a VBox and would like to remove all gaps and padding between them. I've tried specifying verticalGap="0" on the VBox and setting the Label paddings to 0 and bottom="0". Since the labels will be dynamic and have different styles I'm trying to keep them as separate components.

      Is there another style property I'm missing?

      <mx:VBox>
      <mx:Label text="United Center" styleName="lgLabel" />
      <mx:Label text="Chicago Bulls" styleName="smLabel" />
      </mx:VBox>

      Thanks.