Use a negative value in the verticalGap as needed.  I think there is
built-in padding in label.

 

Tracy Spratt,

Lariat Services, development services available

  _____  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of mitchgrrt
Sent: Tuesday, September 22, 2009 7:12 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: trying to control space above label

 

  

Thanks, but the result is the same even if we put 0 gaps and padding
everywhere:

<mx:VBox verticalGap="0">
<mx:Box borderColor="red" borderStyle="solid" paddingBottom="0"
paddingTop="0">
<mx:Label text="System" styleName="systemDescriptionText" paddingBottom="0"
paddingTop="0"/>
</mx:Box>
<mx:Box borderColor="red" borderStyle="solid" paddingBottom="0"
paddingTop="0">
<mx:Label text="System 24" styleName="systemDescriptionText" height="24"
paddingBottom="0" paddingTop="0"/>
</mx:Box>
<mx:Box borderColor="red" borderStyle="solid" paddingBottom="0"
paddingTop="0">
<mx:Label text="System 16" styleName="systemDescriptionText" height="16"
paddingBottom="0" paddingTop="0"/>
</mx:Box>
</mx:VBox>

--- In flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com,
"Tracy Spratt" <tr...@...> wrote:
>
> VBox has a verticalGap property. Set it to 0. also you can set the padding
> on the label to 0.
> 
> 
> 
> Tracy Spratt,
> 
> Lariat Services, development services available



Reply via email to