It doesn't seem to matter what "right" is set to, my first instinct was as you guessed and to make it something huge so it won't overlap with the scroll bar but it doesn't seem to make a difference.
I'm still not 100% certain this isn't my fault, so I don't think I'm at filing a bug for it yet :) Might try and set up some test cases to verify what's going on. Cheers, -Josh On Nov 19, 2007 1:19 PM, Alex Harui <[EMAIL PROTECTED]> wrote: > > > > > > > > > > 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: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of Josh McDonald > Sent: Sunday, November 18, 2007 4:35 PM > > > To: [email protected] > 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]> wrote: > > > > > > > > > > > > > > > > > > > > As long as it is small enough to not cause the hbar to come on > > > > > > > > ________________________________ > > > > > > From: [email protected] [mailto:[EMAIL PROTECTED] On > > Behalf Of Josh McDonald > > Sent: Wednesday, November 14, 2007 4:52 PM > > > > > > To: [email protected] > > 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]> 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: [email protected] [mailto:[EMAIL PROTECTED] On > > > Behalf Of Josh McDonald > > > Sent: Tuesday, November 13, 2007 11:13 PM > > > To: [email protected] > > > 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]> 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: [email protected] [mailto:[EMAIL PROTECTED] > On > > > > Behalf Of Josh McDonald > > > > Sent: Tuesday, November 13, 2007 10:24 PM > > > > To: [email protected] > > > > 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] > > > > > > > > > > > > > > -- > > > > > > "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] > > > > > > > > > > > > > -- > > > > "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] > > > > > > > > -- > > "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] > > > -- "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]

