the ScrollPanel will take exactly 100% width and 100% height of the
<g:layer>. So in that case (since we have only one layer) also will
fill all LayoutPanel. So I will rather ask where is the LayoutPanel?
Is it by chance in a table? anyway you can try to set width:100% and
height:100% to LayoutPanel.. maybe that will help:)
cheers,
a
On Nov 24, 4:04 am, "Aidan O'Kelly" <aida...@gmail.com> wrote:
> Doh, need more coffee.. I see why this can't work now.. The child
> Widget of ScrollPanel needs an explicit size. Which kinda begs the
> question, why does ScrollPanel implement ProvidesResize?!
>
>
>
>
>
>
>
> On Thu, Nov 24, 2011 at 2:17 AM, Aidan O'Kelly <aida...@gmail.com> wrote:
> > A simplified version of a UiBinder view..:
>
> > <g:LayoutPanel>
> > <g:layer>
> > <g:ScrollPanel>
> > <my:ResizeCompositeWidget/>
> > </g:ScrollPanel>
> > </g:layer>
> > </g:LayoutPanel>
>
> > Should this work? Once I add the ScrollPanel, the
> > ResizeCompositeWidget doesn't show anymore. Adding height/width="100%"
> > to the ScrollPanel has no effect. There is a unbroken chain of
> > ProvidesResize/RequiresResize, so I would expect this to work.
>
> > Is this a bug, or as designed? And does anyone have a good solution for this?
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment