This solved my problem. Thanks a lot...I was really concerned I was
going to have to write my own percentage calculations. ;)

--- In flexcoders@yahoogroups.com, "Michael Schmalle"
<[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> try;
> 
> panel.minHeight = 0;
> 
> You are telling the layoutManager to disregard the measured sizes
for the
> actual panel and use unscaledWidth and height that has been set from
it's
> parent.
> 
> Peace, Mike
> 
> On 4/23/07, Matt <[EMAIL PROTECTED]> wrote:
> >
> >   I'm trying to lay out a relatively complex site using Flex and it
> > doesn't seem to like to respect my percent sizings. For example, I
> > have a Box (VBox) which contains a TabNavigator set to 100% width and
> > 35% height. Then I have a Panel set to 100% width and 65% height. This
> > works fine with content in the TabNavigator and nothing within the
> > Panel but when I add several Boxes to the Panel that makes the content
> > larger than the 65% height it grows and grows and pushes the
> > TabNavigator up to minimum size and the container its in (which
> > vertical scroll policy is off) pushes down outside the screen (without
> > scroll-bars).
> >
> > Is there any way I can tell this Panel to stay to the size I told it
> > to and not resize itself based on the content? I set the vertical
> > scroll policy to 'auto' but it never puts scrollbars up.
> >
> > Thanks
> >
> >  
> >
> 
> 
> 
> -- 
> Teoti Graphix
> http://www.teotigraphix.com
> 
> Blog - Flex2Components
> http://www.flex2components.com
> 
> You can find more by solving the problem then by 'asking the question'.
>


Reply via email to