Hi, I'm having a headache why I cannot get a DockPanel inside another
Panel to work. In the UiBinder code snippet below, only the <g:north/>
layers are displayed and for some reason the other ones are not shown.
Is it a GWT bug?

        <ui:style>
                .panel {border: 3px solid black;}
        </ui:style>

        <g:HTMLPanel ui:field="mainPanel">
                <g:DockLayoutPanel unit='EM'>
                <g:north size='3'>
                        <g:HTML styleName="{style.panel}">
                                Header
                        </g:HTML>
                </g:north>
                <g:west size='16'>
                        <g:HTML styleName="{style.panel}">
                                Navigation
                        </g:HTML>
                </g:west>
                <g:north size='3'>
                        <g:HTML styleName="{style.panel}">
                                Another Header
                        </g:HTML>
                </g:north>
                <g:center>
                        <g:HTML styleName="{style.panel}">
                                Content Area
                        </g:HTML>
                </g:center>
                </g:DockLayoutPanel>
        </g:HTMLPanel>

In my GWT application, my DockPanel is actually coming from another
UiBinder file, so I need it to be nested. Isn't HTMLPanel the
suggested panel to use as a main panel that can contain anything?

Thanks!

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