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?