Thursday, January 5, 2012

layout panel problem, invisible panels

Hi,

Why does this not work? "Header top" appears, but nothing else. The
divs inside the dock layout have zero height. HeaderPanel calls
onResize for it's 'content' element. Is that not enough to work with
LayoutPanels? If I remove the HeaderPanel, the DockLayoutPanel works
as expected. I want to use HeaderPanel, because I want a top div that
is sized naturally by the browser.

Rob

<g:HeaderPanel>
<g:Label>Header top</g:Label>
<g:DockLayoutPanel unit='PX'>
<g:west size='300'>
<g:Label>West</g:Label>
</g:west>
<g:center>
<g:Label>Center
</g:Label>
</g:center>
</g:DockLayoutPanel>
</g:HeaderPanel>

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