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 <aidanok@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