Announcement

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

    Set variable height of TabSet

    We are using SmartGWT power edition 4.1. We have a number to tabs using TabSet. If we want to have variable height for each tab, what should we do?

    #2
    You can setAttribute("height", value) on each tab instance - not sure if that's the look you want.

    Also bear in mind, if you still support any browsers where CSS3Mode is not active (see Skinning Overview), setting to any height other than the default is going to vertically stretch the image files used for the tab, which can be noticeable. You can provide custom media for each tab by setting the "src" attribute with setAttribute() as above - this is equivalent to setting ImgTab.src.

    Comment

    Working...
    X