ScrollablePane without Scrollbars

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

Not too shy to talk
Not too shy to talk
Posts: 22
Joined: Wed Dec 20, 2006 17:20

ScrollablePane without Scrollbars

Postby jtracy » Wed Jul 18, 2007 21:31

Is there a way to have a ScrollablePane that does not show its scrollbars?


User avatar
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands

Postby scriptkid » Thu Jul 19, 2007 07:15

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.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 16 guests