This requirement should *really* be mentioned in the javadocs for
DockLayoutPanel.  Searching this list, a lot of people seem to be
stumbling on this issue.

Jeff

On Thu, Nov 4, 2010 at 8:04 PM, Rud <[email protected]> wrote:
> 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 <[email protected]> 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 [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to