Let's say I've the following in my onModuleLoad():
Viewport vp = new Viewport();
CenterLayoutExample cle = new CenterLayoutExample();
CenterLayoutExample is from http://extjs.com/examples/layouts/centerlayout.html
So what I need to do in place of question marks to get the example rendered in the center and middle of my browser window?
I've got it to work with gxt 1.2 but in gxt 1.2.1 I see nothing because there is always some div in it with height 0.
I've tried to set the height manually but it seems that I'm missing something because the special div doesn't change. Only the parent and the child divs.
Please point me in the right direction!