the verticalpanel inside that each tab must have fixed width and height
as tab panel doesn't react in expected manner when we set its size in
percentage
so setSize of tabPanel and make that vertical panel in each tab of same size
with fixed width and height.

--
Aditya


On Tue, Nov 2, 2010 at 5:43 PM, Fahad Baig <[email protected]> wrote:

> I am using a tabPanel with 3 tabs. The problem i am having is that
> when i switch between tabs the size of the tab (height and width)
> varies which is annoying. How can i make all the tabs of same size in
> tabpanel irrespective of how widgets are placed inside them ?
>
> The snippet I am following right now is
>
>  tabPanel.setWidth("100%");
>  tabPanel.add(getTabPage1(), "Tab 1");
>  tabPanel.add(getTabPage2(), "Tab 2");
>  tabPanel.add(getTabPage3(), "Tab 3");
>
> Each of the getTabPageX() method return a VerticalPanel which in turn
> contains actual components.
>
> Kindly advise how to make the tab size homogenous among all tabs
>
> --
> 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]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
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.

Reply via email to