Hi,

here are some examples:


   - http://www.schacharena.de
   -> fixed-width, but background covers whole screen
   
   - http://www.muenchen.de
   fixed-width, but a part of the "empty" area is filled with advertising

I would like to have an outer layout that covers the whole viewport with a 
fixed-width-panel inside it.

DockLayoutPanel page = new DockLayoutPanel(); // or any other layout widget
> RootLayoutPanel fixedWidthRootLayoutPanel = RootLayoutPanel.get();
> fixedWidthRootLayoutPanel.setWidth("960px");
>
> fixedWidthRootLayoutPanel.getElement().getStyle().setProperty("margin","auto");
>

 In this example, "page" is created, but not connected to a surrounding 
panel. Is there something missing?

Magnus

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to