Re: [flexcoders] Re: container width > parent container's width when vertical scrollbar present

2008-02-04 Thread Josh McDonald
Done and done. It's kinda kludgey, and perhaps I didn't choose the best event to listen in on, but it works. Browse here: http://www.gfunk007.com/flex/ResizeScrollingCanvas/ Download Archive.zip for the lot. Demo here: http://www.gfunk007.com/flex/ResizeScrollingCanvas/bin/testbed.html -Josh

RE: [flexcoders] Re: container width > parent container's width when vertical scrollbar present

2008-02-04 Thread Alex Harui
Yeah, you're caught in a no-win situation. To get this right, we'd have to visit the children twice, once to figure out we need scrollbars and then again to give them final sizes. We opted to go with the current one-visit scheme for performance reasons. There's probably some way you can detect t

RE: [flexcoders] Re: container width > parent container's width when vertical scrollbar present

2008-02-01 Thread Alex Harui
I spend a couple of minutes on this. The rules are that, when verticalScrollPolicy="auto" (default), the verticalScrollBar is not factored into the measurements and overlaps content, otherwise it would cause the scrollbar ripple. The simplest change to remove the horizontal scrollbar is to set ve

RE: [flexcoders] Re: container width > parent container's width when vertical scrollbar present

2008-01-31 Thread Alex Harui
D] On Behalf Of Josh McDonald Sent: Thursday, January 31, 2008 10:53 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: container width > parent container's width when vertical scrollbar present I understand the "cascading scrollbars" problem, but I really have to say

Re: [flexcoders] Re: container width > parent container's width when vertical scrollbar present

2008-01-31 Thread Josh McDonald
I understand the "cascading scrollbars" problem, but I really have to say that's a problem with your screens if you get this. It simply means that you have to have contents that also resize. But how is that not the case anyway if it's in a container of variable width? The contents of any container

RE: [flexcoders] Re: container width > parent container's width when vertical scrollbar present

2008-01-31 Thread Alex Harui
If you comb through the archives you'll see that this topic comes up once a month. It isn't really a bug and is what we consider to be the lesser of two evils. If we shrank content area when scrollbars appeared, what would shrink a child container and cause it to show scrollbars and all you'd see

RE: [flexcoders] Re: container width > parent container's width when vertical scrollbar present

2008-01-30 Thread Alex Harui
Behalf Of Josh McDonald Sent: Wednesday, January 30, 2008 4:48 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: container width > parent container's width when vertical scrollbar present Not as I understand clipContent. It just turns off scroll bars, no? What I want (and I as

Re: [flexcoders] Re: container width > parent container's width when vertical scrollbar present

2008-01-30 Thread Josh McDonald
%" height="400" clipContent="false"> > > > > > > - Original Message > From: Josh McDonald <[EMAIL PROTECTED]> > To: flexcoders@yahoogroups.com > Sent: Wednesday, January 30, 2008 6:11:46 PM > Subject: Re: [flexcoders] Re: c

Re: [flexcoders] Re: container width > parent container's width when vertical scrollbar present

2008-01-30 Thread Sherif Abdou
u mean like this? - Original Message From: Josh McDonald <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Wednesday, January 30, 2008 6:11:46 PM Subject: Re: [flexcoders] Re: container width > parent container's width when vertical scrollbar present I'v

Re: [flexcoders] Re: container width > parent container's width when vertical scrollbar present

2008-01-30 Thread Josh McDonald
I've found the same as you, I tried all sorts of things and couldn't really find a nice solution. Perhaps there's some way I don't know of to get the equivalent of HTML's "clientWidth" and use that like width="{ parent.clientWidth}" instead of width="100%"... I usually either set a verticalscrollb