On Dec 27 2008, 7:12 am, Yossi <[email protected]> wrote:
> Hi,
>
> I try to build a page that will contain a dock panel - using this
> panel it is very easy to maintain the page layout.
>
> But I want that the "root" dock panel will be centered in the page and
> not aligned to the left.

In Java specify style name for this DockPanel:

  DockPanel rootPanel;
  rootPanel.addStyleName("rootPanel");

and in css add:

  .rootPanel {
     margin-left: auto;
     margin-right: auto;
  }


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