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# > > <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