Could be true for verticalscrollpolicy="auto".  Feel free to file a bug.
If you set it to "on" the hbar should go away.  You can also set the
horizontalScrollPolicy="off".  What happens if you set the right to
something larger than the width of the scrollbar?

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Josh McDonald
Sent: Sunday, November 18, 2007 4:35 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Vertical scrolling without horizontal
scrolling? How do I make 100% == 100% of available width?

 

To sum it up, am I correct in my conclusion that it's impossible to
have a vertical scrollbar without a horizontal scrollbar on any
container that contains any component with the right='something'
attribute set?

I hope I'm wrong, that's annoying as hell.

-Josh

On Nov 15, 2007 5:35 PM, Alex Harui <[EMAIL PROTECTED]
<mailto:aharui%40adobe.com> > wrote:
>
>
>
>
>
>
>
>
>
> As long as it is small enough to not cause the hbar to come on
>
>
>
> ________________________________
>
>
> From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
[mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
] On
> Behalf Of Josh McDonald
> Sent: Wednesday, November 14, 2007 4:52 PM
>
>
> To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> 
> Subject: Re: [flexcoders] Vertical scrolling without horizontal
scrolling?
> How do I make 100% == 100% of available width?
>
>
>
>
>
>
>
> Does it have to be 0, or can I go with something like 200 or so? It
> irks me that when you shrink the browser window you get a million
> scrollbars in every nested container :)
>
> I know I'm probably a pain, but I'm determined to master Flex.
>
> -Josh
>
> On Nov 14, 2007 5:45 PM, Alex Harui <[EMAIL PROTECTED]
<mailto:aharui%40adobe.com> > wrote:
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > I think you want the content to use 100% but have minWidth=0. You're
> > hitting an obscure 'rule' of flex that we don't shrink containers
when
> they
> > decide to put up scrollbars else it could propagate scrollbars down
to
> its
> > children. Also, if or when you know you want scrollbars, changing
the
> > policy to "on" will factor the scrollbars into the layout. minWidth
> usually
> > solves it though.
> >
> >
> >
> > ________________________________
> >
> >
> > From: flexcoders@yahoogroups.com
<mailto:flexcoders%40yahoogroups.com>
[mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
] On
> > Behalf Of Josh McDonald
> > Sent: Tuesday, November 13, 2007 11:13 PM
> > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>

> > Subject: Re: [flexcoders] Vertical scrolling without horizontal
> scrolling?
> > How do I make 100% == 100% of available width?
> >
> >
> >
> >
> >
> >
> >
> > The content is set up to be in some cases 100%, otherwise it's
> > anchored to top/bottom/sides.
> >
> > If I have the container (vbox) anchored to the bottom of the
> > application, or no height specifcation at all, or any %, it simply
> > grows out and i get the dual scrollbars. If i specify a pixel
height,
> > the container itself gets a scrollbar and everything works fine. Is
> > there no way to have a container that has an "anchored to the
> > application" minimum size, but will scroll internally if it needs
to?
> > I imagine setting the height to a pixel size when the application
> > detects a resize would achieve the results I'm after, but that's
> > awfully kludgey.
> >
> > I feel like I'm trying to do CSS-based design in HTML :-/
> >
> > -Josh
> >
> > On Nov 14, 2007 4:49 PM, Alex Harui <[EMAIL PROTECTED]
<mailto:aharui%40adobe.com> > wrote:
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > Does the content need to fill the width of the container? If it
does, I
> > > think you'll always get an hbar since even narrowing it would
obscure
> > > content.
> > >
> > >
> > >
> > > Otherwise, try setting minWidth=0 on the content items and maybe
the
> > > container as well.
> > >
> > >
> > >
> > > ________________________________
> > >
> > >
> > > From: flexcoders@yahoogroups.com
<mailto:flexcoders%40yahoogroups.com>
[mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
] On
> > > Behalf Of Josh McDonald
> > > Sent: Tuesday, November 13, 2007 10:24 PM
> > > To: flexcoders@yahoogroups.com
<mailto:flexcoders%40yahoogroups.com> 
> > > Subject: [flexcoders] Vertical scrolling without horizontal
scrolling?
> > How
> > > do I make 100% == 100% of available width?
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > Hi guys,
> > >
> > > I'm having a problem where as soon as my content goes taller than
a
> > > container (be it the application, or a panel) and a vertical
scrollbar
> > > is needed, it simply covers up some of the container rather than
> > > narrowing it. This of course creates a horizontal scrollbar as
well.
> > > Is there an easy way to get around this? It's really the last
thing I
> > > want, and to me seems like the last thing anybody would want. I'm
sure
> > > it's something simple, but it's just one of those things that
appears
> > > difficult to google for :)
> > >
> > > Any help appreciated :)
> > >
> > > -Josh
> > >
> > > --
> > > "This is crazy! Why are we talking about going to bed with Wilma
> > > Flintstone... She'll never leave Fred and we know it. "
> > >
> > > :: Josh 'G-Funk' McDonald
> > > :: 0437 221 380 :: [EMAIL PROTECTED] <mailto:josh%40gfunk007.com> 
> > >
> > >
> >
> > --
> >
> > "This is crazy! Why are we talking about going to bed with Wilma
> > Flintstone... She'll never leave Fred and we know it. "
> >
> > :: Josh 'G-Funk' McDonald
> > :: 0437 221 380 :: [EMAIL PROTECTED] <mailto:josh%40gfunk007.com> 
> >
> >
> >
>
> --
>
> "This is crazy! Why are we talking about going to bed with Wilma
> Flintstone... She'll never leave Fred and we know it. "
>
> :: Josh 'G-Funk' McDonald
> :: 0437 221 380 :: [EMAIL PROTECTED] <mailto:josh%40gfunk007.com> 
>
>
> 

-- 
"This is crazy! Why are we talking about going to bed with Wilma
Flintstone... She'll never leave Fred and we know it. "

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED] <mailto:josh%40gfunk007.com> 

 

Reply via email to