Thanks !

On Jun 13, 6:17 pm, Thomas Broyer <t.bro...@gmail.com> wrote:
> On 13 juin, 17:59, Simon <sp.ma...@gmail.com> wrote:
>
>
>
>
>
> > My simple DockLayoutPanel test is all messed up: the south element
> > appears at the top of the page, the west and center elements don't
> > appear ...
>
> > <!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent";>
> > <ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
> >         xmlns:g="urn:import:com.google.gwt.user.client.ui">
> >         <g:DockLayoutPanel unit='EM'>
> >                 <g:north size='5'>
> >                         <g:Label>Top</g:Label>
> >                 </g:north>
> >                 <g:south size='2'>
> >                         <g:HTML>south</g:HTML>
> >                 </g:south>
> >                 <g:west size='10'>
> >                         <g:HTML>
> >                         west
> >                         </g:HTML>
> >                 </g:west>
> >                 <g:center>
> >                         <g:Label>Body</g:Label>
> >                 </g:center>
> >         </g:DockLayoutPanel>
> > </ui:UiBinder>
>
> > And how it is inserted :
>
> >         @Override
> >         public void onModuleLoad() {
> >                 TestUiBinder testUI = new TestUiBinder();
> >                 RootPanel.get().add(testUI);
> >         }
>
> > I guess I am missing something, but I can't figure what ...
>
> The part where it says you should use RootLayoutPanel instead of
> RootPanel when using layout panels, or give your panel a fixed size
> ("Using a LayoutPanel without RootLayoutPanel" 
> section):http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html#Re...

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to