RE: [flexcoders] HBox verticalGap

2008-07-22 Thread Tracy Spratt
Ah, ok, that would be controlled by the parent container.  Wrapping in
another box is probably the best solution.  Canvas would work too.
Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, July 22, 2008 1:38 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] HBox verticalGap

It puts a gap between the top border and the contents, (instead of 
between the top border and the top of the application) which is doesn't 
work for me. I wrapped it in another box without a border and gave it a 
top padidng. That works, but it seems like a hack.

Tracy Spratt wrote:
 >
 >
 >
 > "since my box has a border it won't work" are you sure that is
correct?
 >
 >
 >
 > Tracy




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
Links







Re: [flexcoders] HBox verticalGap

2008-07-22 Thread [EMAIL PROTECTED]
It puts a gap between the top border and the contents, (instead of 
between the top border and the top of the application) which is doesn't 
work for me. I wrapped it in another box without a border and gave it a 
top padidng. That works, but it seems like a hack.

Tracy Spratt wrote:
 >
 >
 >
 > “since my box has a border it won't work” are you sure that is correct?
 >
 >
 >
 > Tracy




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



RE: [flexcoders] HBox verticalGap

2008-07-22 Thread Tracy Spratt
Sorry, ignore this, I didn't see the other post.

 

"since my box has a border it won't work"  are you sure that is correct?

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tracy Spratt
Sent: Tuesday, July 22, 2008 11:28 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] HBox verticalGap

 



Tracy

 



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

 

I thought of that but since my box has a border it won't work. I guess I

could wrap it in another box but I was hoping to avoid that.

Alex Harui wrote:
>
> paddingTop
>
>
>

 



RE: [flexcoders] HBox verticalGap

2008-07-22 Thread Tracy Spratt


Tracy

 



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

 

I thought of that but since my box has a border it won't work. I guess I

could wrap it in another box but I was hoping to avoid that.

Alex Harui wrote:
>
> paddingTop
>
>
>

 



Re: [flexcoders] HBox verticalGap

2008-07-21 Thread [EMAIL PROTECTED]
I thought of that but since my box has a border it won't work. I guess I 
could wrap it in another box but I was hoping to avoid that.

Alex Harui wrote:
 >
 > paddingTop
 >
 >
 >


Re: [flexcoders] HBox verticalGap

2008-07-21 Thread [EMAIL PROTECTED]
I meant

 I have an application with horizontal layout I want an HBox to have a 20
 topmargin. How do I do that?

[EMAIL PROTECTED] wrote:
 >
 > 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:[EMAIL PROTECTED]
 > > *On Behalf Of [EMAIL PROTECTED]
 > > *Sent:* Monday, July 21, 2008 11:57 AM
 > > *To:* flexcoders@yahoogroups.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/Flex3StyleExplorer.html#
 > > 

 > >
 > >
 > > No virus found in this incoming message.
 > > Checked by AVG - http://www.avg.com
 > > Version: 8.0.138 / Virus Database: 270.5.3/1564 - Release Date: 
7/21/2008 6:42 AM
 > >
 >
 > 
 > No virus found in this incoming message.
 > Checked by AVG - http://www.avg.com
 > Version: 8.0.138 / Virus Database: 270.5.3/1564 - Release Date: 
7/21/2008 6:42 AM



RE: [flexcoders] HBox verticalGap

2008-07-21 Thread Alex Harui
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
> 

 



Re: [flexcoders] HBox verticalGap

2008-07-21 Thread [EMAIL PROTECTED]
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:[EMAIL PROTECTED] 
> *On Behalf Of [EMAIL PROTECTED]
> *Sent:* Monday, July 21, 2008 11:57 AM
> *To:* flexcoders@yahoogroups.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/Flex3StyleExplorer.html#
>  
> 
>
> 
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com 
> Version: 8.0.138 / Virus Database: 270.5.3/1564 - Release Date: 7/21/2008 
> 6:42 AM
>   



RE: [flexcoders] HBox verticalGap

2008-07-21 Thread Alex Harui
It is a style so you have to use setStyle()

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Monday, July 21, 2008 11:57 AM
To: flexcoders@yahoogroups.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#