Hello, in the examples i've seen, RootLayoutPanel is always used once,
mainly in Entry Module. I've also seen LayoutPanel doesnt always
display the expected result. for example using a DockPanel inside of a
LayoutPanel. My question is , can we use RootLayoutPanel more than
once ? instead of FlowPanel or LayoutPanel ? im using UiBinder, and
nesting layout panels, result in strange behaviour, however i found
using RootLayoutPanel as the top layout panel, not once but anytime we
need a top-level container helps. specifically the code im refering to
is below, do you see any problem with it ? <!DOCTYPE ui:UiBinder
SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent";>
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
        xmlns:c="urn:import:com.philbeaudoin.gwtpsample.client"
xmlns:g="urn:import:com.google.gwt.user.client.ui">
        <ui:style>

        </ui:style>

        <g:RootLayoutPanel>
                <g:layer top="0px" height="100px">
                        <g:HTMLPanel ui:field="header">
                                <c:MainNavBarTop />
                        </g:HTMLPanel>
                </g:layer>
                <g:layer top="100px" bottom="0px" left="0px" right="250px">

                                <g:RootLayoutPanel 
ui:field='workspaceContainer' />

                </g:layer>


                <g:layer top="100px" bottom="0px" width="250px" right="0px">
                        <g:Label>Hello</g:Label>
                </g:layer>


        </g:RootLayoutPanel>


</ui:UiBinder>

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