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;
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
Well, just one more point: constraints (similar to padding) have
nothing to do with the dimensions of a container. They simply
provide a mechanism for positioning. While using top, bottom, left
and right can cause resizing, relative to the parent, they are more
or less just a tool for
Yes! It took me a few seconds to figure that out after you explained
it, my brain is fragile...
When setting just one of the constraints, (left or right) or (top or
bottom) it makes perfect sense... but setting both (top and bottom)
or (left and right), i just figured it manually set the
Yep, it's a different mind set, but very cool and flexible.
Cheers,
-TH
--- In flexcoders@yahoogroups.com, scott_flex [EMAIL PROTECTED] wrote:
Yes! It took me a few seconds to figure that out after you
explained
it, my brain is fragile...
When setting just one of the constraints, (left
5 matches
Mail list logo