Saturday, June 26, 2010

TabPanel - 100% height for client widget?

Hello,

I would like my TabPanel to let its tab clients occupy the whole
available vertical space.

The TabPanel itself is located as I want it to be.

But the single tab pages always reside at the top of the client area.
But I would like to have them centered vertically.

Can you help?

I tried the following:

TabPanel pnl = new TabPanel ();
pnl.setSize ("100%","100%");
pnl.setAnimationEnabled(false);

VerticalPanel p = new VerticalPanel ();
p.setSize ("100%","100%");
HTML txt1 = new HTML("This isa Text 1.");
p.add (txt1);
pnl.add (p,"Home 1");

HTML txt2 = new HTML("This is Text 2.");
pnl.add (txt2,"Home 2");

Thanks
Magnus

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate