I've also had problems when trying to put a layout panel inside of (as a child of) a non-layout panel (basic panel). I'm assuming this is what's happening when you place DockLayoutPanel inside of HeaderPanel. You can however put non-layout panels inside layout panels.
I'm new to GWT and I'm not sure why this works the way it does. On Thu, Jan 5, 2012 at 12:42 PM, Rob <[email protected]> wrote: > Yeah, I looked for things like <g:header> etc, but I don't think > that's it. It appears to be taking the first element as the header, > the second as the content. Those are actually sized correctly and all > the elements are in the page, but it's like the layout did not > propagate to the divs inside the DockLayoutPanel, because they have > height=0 so aren't visible. > > Rob > > On Jan 5, 12:30 pm, Thad <[email protected]> wrote: > > I've not used the HeaderPanel layout, but I'm wondering if the first > > element it finds is becoming the content and the others are getting > > ignored. > > > > While I've done a lot with GWT, I'm relatively new to UiBuilder. > > However it seems to me that, in keeping with the pattern of > > LayoutPanel and DockLayoutPanel, HeaderPanel should have some "special > > markup" like <g:header>, <g:footer>, and <g:content> (seehttp:// > code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html#Pa...) > > > > -- > 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.
