How can i remove the scrollbar for a portlet ?I set the setAutoSize(true) property for the portlet but that not working.Thanks in advance
Announcement
Collapse
No announcement yet.
X
-
Hi,
I think it 'should' (but doesn't) work with
portlet.setOverflow(Overflow.HIDDEN); (or better AUTO).
Iif I use a page [portlet.setSrc(page);] the scrolls are allways on and twice! (screen); the scrolls seems not to be the portlets itself ...
Then I tried to workarround with a child of type HTMLPane;
HTMLPane htmlPane= new HTMLPane();
htmlPane.setContentsURL(page);
htmlPane.setOverflow(Overflow.HIDDEN);
htmlPane.setWidth100();
htmlPane.setContentsType(ContentsType.PAGE);
portlet.addItem(htmlPane);
--> hurray: can switch off the scrolls, but no AUTO (sometimes I would need some!). Switch to AUTO shows two scrollbars (again). I think thats all an issue and if nobody has any solution we should create an issue at http://code.google.com/p/smartgwt/issues/entry
Comment