you may want to try the includeInLayout="false" on the box1 either bind that to a variable or set it on creation.
 
hope this helps
 
Jason
 
-----Message d'origine-----
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de Christoph Diefenthal
Envoyé : jeudi 22 juin 2006 16:48
À : 'flexcoders@yahoogroups.com'
Objet : [flexcoders] flex 2.0 beta 3 - createionPolicy is none but still there is some space...

Hi,

I have got a problem with the creationPolicy.

I am creating components dynamically so I wanted to use the creationPolicy.

It is set to none on box1 is none  but it occupies some space in front of box2.

But I think it should look like box3.

Setting width=0 and paddingLeft/Right=0 does not help either...

Is this a bug or am I doing something wrong???

Christoph

<mx:VBox>

<mx:HBox width="100%">

            <mx:HBox width="100%" creationPolicy="none" id=" box1">

                        <mx:NumericStepper />

            </mx:HBox>

            <mx:HBox width="100%" id="box2">

                        <mx:NumericStepper />

            </mx:HBox>

</mx:HBox>

<mx:HBox width="100%">

            <mx:HBox width="100%" id="box3">

                        <mx:NumericStepper />

            </mx:HBox>

</mx:HBox>

</mx:VBox>

__._,_.___

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





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to