gwt tablayoutpanel - How to add a scrollbar to an absolutepanel in GWT -
my problem have lot of absolutepanels in gwt drawn if tablayoutpanel ( gui looks tablayoutpanel, however, not one, made of lot of absolutepanels ). so, have problem lot of tabs opened exceed max. width of absolutepanel , cannot seen anymore nor can clicked or else. so, somehow possible add scrollbar absolutepanel in order scroll , forth?
i not think idea post code because being done programmatically. thing need example of how accomplish scrollbar within absolutepanel. absolutepanel of fixed width!
thank in advance.
use css overflow property.
you need set overflow: auto;
.
it can done programmatically:
panel.getelement().getstyle().setoverflow(overflow.auto);
or css style sheet:
.overflowauto { overflow: auto; }
and
panel.addstylename("overflowauto");
Comments
Post a Comment