Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to resize height of TabSet;

    I have a ListGrid inside a com.smartgwt.client.widgets.tab.TabSet. I've tried many different combinations but can't seem to get the TabSet's height to resize with the size of the ListGrid it contains.

    I've tried

    Code:
    TabSet tabSet = new TabSet();
    tabSet.setWidth100();
    tabSet.setDefaultHeight(800);
    tabSet.setOverflow(Overflow.VISIBLE);
    I've also tried:

    Code:
    TabSet tabSet = new TabSet();
    tabSet.setWidth100();
    tabSet.setHeight100();
    tabSet.setOverflow(Overflow.VISIBLE);
    and also

    Code:
    TabSet tabSet = new TabSet();
    tabSet.setWidth100();
    tabSet.setHeight100();
    the ListGrid size is created with:

    Code:
    grid.setWidth100(); 
    grid.setHeight100();
    Any suggestions?

    #2
    On SmartGWT 3.0, use the code below:

    tabSet.setOverflow(Overflow.VISIBLE);
    tabSet.setPaneContainerOverflow(Overflow.VISIBLE);

    Comment


      #3
      This also works for the components with smaller height than the current height of the TabSet?

      Comment

      Working...
      X