paddingTop

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Monday, July 21, 2008 3:48 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] HBox verticalGap

 

Thanks.

I got it to accept verticalGap, but it didn't do what I wanted.
I have an application with vertical layout I want an HBox to have a 20 
topmargin. How do I do that?

I have also tried topMargin=20 , and y=20

Alex Harui wrote:
>
> It is a style so you have to use setStyle()
>
> 
>
> ----------------------------------------------------------
>
> *From:* flexcoders@yahoogroups.com
<mailto:flexcoders%40yahoogroups.com>
[mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
] 
> *On Behalf Of [EMAIL PROTECTED] <mailto:%2Ainfo1%40reenie.org> 
> *Sent:* Monday, July 21, 2008 11:57 AM
> *To:* flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>

> *Subject:* [flexcoders] HBox verticalGap
>
> 
>
> How come when I create an HBox in view mode, it allows verticalGap=30
>
> but when I create an HBox dymanically it says there is no such
property
> movieBox.verticalGap=30;
> 1119: Access of possibly undefined property verticalGap through a
> reference with static type mx.containers:HBox.
>
> Also, I asked this before and didn't get an answer, Why does the style
> explorer not have Hbox or Vbox ?
>
http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplo
rer.html#
<http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExpl
orer.html>  
>
<http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExpl
orer.html
<http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExpl
orer.html> >
>
> 
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com <http://www.avg.com>  
> Version: 8.0.138 / Virus Database: 270.5.3/1564 - Release Date:
7/21/2008 6:42 AM
> 

 

Reply via email to