Ty a lot!!!
I quite understand how to manipulate with elements etc, but I m little
bit frustrated how can i implement this with DockPanel.
menu.java
-----------
public static DockPanel outer1 = new DockPanel();
public static final Images images = GWT.create(Images.class);
public TopPanel topPanel = new TopPanel(images);
public AristeroMenu new2 = new AristeroMenu(images);
public static DexiMenu new1 = new DexiMenu("test");
public void onModuleLoad() {
topPanel.setWidth("100%");
new2.setWidth("70%");
new1.setWidth("100%");
outer1.add(topPanel, DockPanel.NORTH);
outer1.add(new2, DockPanel.WEST);
outer1.add(new1, DockPanel.CENTER);
outer1.setWidth("100%");
outer1.setSpacing(4);
RootPanel.get().add(outer1);
}
And i m wondering how to do this.
Is this correct?
RootPanel.get("header").add(outer1.add(topPanel, DockPanel.NORTH));
RootPanel.get("left").add(outer1.add(new2, DockPanel.WEST));
RootPanel.get("center").add(outer1.add(new1, DockPanel.CENTER));
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---