Using GWT2.1.1, I had some limited success setting the height of the DecoratedTabPanel by including this in my CSS file:
.gwt-TabPanelBottom { height: 10%; } see the Javadoc for DecoratedTabPanel which indicates that two CSS style rules are used: .gwt-DecoratedTabPanel { the tab panel itself } .gwt-TabPanelBottom { the bottom section of the tab panel (the deck containing the widget) } On Jan 2, 12:38 pm, Leung <leung1_2...@yahoo.com> wrote: > Hi, > > I am trying to put a VerticalPanel inside aDecoratedTabPanel. I would like > the width and height of theDecoratedTabPanelfixed, no matter the length of > the strings inside the VerticalPanel. Then, I use setWidth andsetHeightfor > bothDecoratedTabPaneland VerticalPanel. However, the dimensions of > theDecoratedTabPaneldo not change to the specified size. > How to fix it? > > Thanks -- 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-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.