Thursday, November 4, 2010

Re: DockLayoutPanel inside UiBinder requires height="100%"

More specifically it needs to be inside a layout panel of some type,
or reference as a RootLayoutPanel. Any of the layout panels have this
requirement.

Rud
http://www.MysticLakeSoftware.com

On Nov 4, 9:29 pm, Jeff Schnitzer <j...@infohazard.org> wrote:
> This may save someone the ~4 hours it cost me:
>
> Can't figure out why your DockLayoutPanel doesn't render when you
> place it anywhere except *directly* inside a RootLayoutPanel?  It
> needs height="100%":
>
> <g:FlowPanel>
>         <g:DockLayoutPanel unit="PX" height="100%">
>                 ...
>         </g:DockLayoutPanel>
> </g:FlowPanel>
>
> Without this height, DockLayoutPanels inside any other widget
> (including nested DockLayoutPanels) collapse to 0.
>
> Today sucked.
>
> Jeff

--
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate