gwt2 - TabLayoutPanel with scroll -


i'm using tablayoutpanel in gwt application, attached rootlayoutpanel of page.

inside each tab have scrollpanel, used display flextable.

is possible make tablayoutpanel grow vertically, user can scroll entire page using browser scroll bar, instead of using internal scrollpanel ?

just add new style tablayoutpanel:

this.addstylename("tab-style-content"); 

and define in css as:

.tab-style-content .gwt-tablayoutpanelcontent { overflow: auto;      } 

thus, property overflow overwritten in gwt-tablayoutpanelcontent , scrollbar shown automatically.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -