Hi,

for some reason using the percentage didn't work, but using px worked,
so try something like width: 800px.
Hope that helps.

Musab


On Jul 25, 7:30 pm, mobilekid <[email protected]> wrote:
> My app's layout consists of a TapPanel, which holds another TabPanel.
> I'd like to have the two TabPanels look differently. Following the GWT
> tutorial on applying styles I did the following:
>
> TabPanel innerTabPanel= new TabPanel();
> //carriersTabPanel.setSize("100%", "100%");
> innerTabPanel.addStyleName("inner-tabPanel");
>
> .gwt-TabPanel .inner-tabPanel{
>     width: 100%;
>     height: 100%;}
>
> This, however, did not have any effect whatsoever. Then I tried the
> following, but that didn't work either:
>
> .inner-tabPanel{
>     width: 100%;
>     height: 100%;
>
> }
>
> So how I can style the two panels separately?

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