Page 1 of 1

ScrollablePane without Scrollbars

Posted: Wed Jul 18, 2007 21:31
by jtracy
Is there a way to have a ScrollablePane that does not show its scrollbars?

Judd

Posted: Thu Jul 19, 2007 07:15
by scriptkid
Not through a property. An option is to hide the scrollbars after certain operations. I think when you update the size of the contained element(s) you can call something like:

pane->getHorzScrollbar()->hide() and pane->getVertScrollbar()->hide().

This undoes the forced visibility of the bars.

HTH!