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
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
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
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
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
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
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
%" 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
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
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
10 matches
Mail list logo