try to use setSyleName instead addStyleName -- Aditya
On Sun, Jul 25, 2010 at 9:00 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]<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.
