Sorry I missed your response earlier. The first view in the viewstack
is B (the simple one). There is no bleeding, the content is clipped.
No scrollbars on the VS.

I just tried it with view states and get the same problem. If I
reverse the order of the views in the stack or states, I'm OK. So I'm
doing that now, and switching the selected child in a creationComplete
handler. That seems to be an acceptable workaround for now, though I
suppose it also defeats lazy creation.

On 11/16/07, Alex Harui <[EMAIL PROTECTED]> wrote:
>

> Which one is the first visible child of the viewstack?
>
>
>
> When you say A does not shrink, does it bleed out the bottom of the VS (turn
> on borders to help see it).  Are there scrollbars on the VS?
>
>
>
>  ________________________________
>
>
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of Richard Rodseth
>  Sent: Friday, November 16, 2007 1:15 PM
>  To: [email protected]
>  Subject: [flexcoders] Scrolling/viewstack
>
>
>
>
>
>
> I have two components A and B in a ViewStack controlled by a link bar.
>  B is simple, with no scrolling and some centered content.
>
>  A is quite complex and includes a VBox containing a Repeater
>  containing non-scrolling List instances. On its own A performs well
>  and the VBox gets it's vertical scrollbar as needed.
>
>  However, in the ViewStack, A does not shrink to match the ViewStack,
>  and the VBox does not scroll.
>
>  Update: If I set creationPolicy to "all" it *does* work. Sounds like a bug,
> no?
>
>  Any ideas? I don't like using creationPolicy "all". I suppose I could
>  use View States rather than a ViewStack.
>
>
>
>  

Reply via email to