Re: TabPanel - 100% height for client widget?

2010-07-17 Thread Magnus
Hi, this makes the size of the content equal to the size of the whole tab panel. The result is that the content is drawn over the tabs at the top. But with this method one can influence the size at all. Can't we modify your CSS somehow? There must be a solution, or am I the only one who does not

Re: TabPanel - 100% height for client widget?

2010-07-12 Thread DaveC
Have you tried using CSS? .my-tab-content { position: absolute; top: 0; left: 0; bottom: 0; right: 0; } this *should* work as long as it's parent is positioned (relative/ absolute)... The new layout panels I think require a RootLayoutPanel not a RootPanel... but I can't remember exactly. C

Re: TabPanel - 100% height for client widget?

2010-07-11 Thread Magnus
Hi, sorry for repeating and posting in this thread without solution, but I must say that TabLayoutPanel is useless for me if its size cannot be maximized. So I'll have to build my own TabPanel, but this is not satisfactory since a framework should prevent me from building my own versions of thing

Re: TabPanel - 100% height for client widget?

2010-07-03 Thread Magnus
Thanks! I tried with "dummy panels", VerticalPanel and SimplePanel. I tried absolute and relative sizes but nothing seems to have an effect. private void init () { TabPanel pnl = new TabPanel (); pnl.setSize ("100%","100%"); //pnl.setHeight ("100px"); SimplePanel p = new SimplePanel ();

Re: TabPanel - 100% height for client widget?

2010-07-03 Thread aditya sanas
I think for that you will require to set its border explicitly. that will settle this issue. you can add a dummy panel on tab home1 or home2 and set its height but here if you set height using % then it will not work you will have to set height in pixels or any other like em... i hope this will w

Re: TabPanel - 100% height for client widget?

2010-07-03 Thread Magnus
In addition, it would set the wrong height! The height of the TabPanel (pnl) is ok, it covers 100 % of the available space. But the VerticalPanel p that I add as the client panel to one of the tab pages is not affected. Look at this screenshot: http://yfrog.com/4rtabpanelp The TabPanel (red borde

Re: TabPanel - 100% height for client widget?

2010-06-28 Thread Stefan Bachert
Hi, this does set height to the height of the browser window when starting. But the height did not change when browser window changes Stefan Bachert http://gwtworld.de On Jun 28, 3:39 am, Nian Zhang wrote: > I think you need call pnl .setHeight(Window.getClientHeight()) method. -- You receiv

Re: TabPanel - 100% height for client widget?

2010-06-27 Thread Nian Zhang
I think you need call pnl .setHeight(Window.getClientHeight()) method. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to

TabPanel - 100% height for client widget?

2010-06-26 Thread Magnus
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 th