You are mixing layout (DockLayoutPanel
) with non-layout (RootPanel.get("header")
) panels .
Either use RootLayoutPanel
(that will hook the entire body of your app; hence you will need to rewrite it to setup the header/main/footer areas inside your app, and not relying on DOM
placeholders) or set the header
size explicitly. See the official docs.
I'd go for the former.