Thanks, 

I do agree that the vbox automatically grows based on it's content is 
a good thing sometimes, i am making use of that default behavior for 
sure.

However, the constraint based layout is designed so i don't have to 
manually code changes for the width and height when the parent object 
is resized... so I would have never expected this behavior nor does 
it make sense (IMHO).

I'll just continue on with what i've done, it's not that complicated, 
just more work for me :).

--Scott


--- In [email protected], "Tim Hoff" <[EMAIL PROTECTED]> wrote:
>
> 
> Unless you explicitly set the height and width of a container, it 
will
> automatically measure to include all of it's children; with no 
scroll
> bars.   This is a good thing in some situations.  If you want the 
scroll
> bars to show up, set the dimensions.   clipContent is an entirely
> different animal; and provides interesting reading in the help docs.
> 
> -TH
> __________________________________
> 
> Tim Hoff
> Cynergy Systems, Inc.
> http://www.cynergysystems.com
> Office <http://www.cynergysystems.comoffice/> : 866-CYNERGY
> 
> --- In [email protected], "scott_flex" <skrause@> wrote:
> >
> >
> > Any particualar reason why a Vbox won't correctly clip content and
> show
> > scrollbars when the object is using constraint based layout
> positioning?
> >
> > I'm adding up to 50 child objects to the vbox and want the 
scrollbars
> > to appear so the user can scroll to see them all.
> >
> > If i set the height, and width everything works as expected, so 
i've
> > manually tapped into the resize event on my parent canvas and 
manually
> > set the height and width to get the effect of a constraint based
> > layout. Doesn't seem like i should have to do this.
> >
> > If i used the top,left,right,bottom properties, my VBox just 
expands
> > its size to include all child objects added... which then forces 
the
> > scroll bars on it's parent container, not what i want.
> >
> > Maybe i'm doing something wrong...
> >
>


Reply via email to