Problem with WindowsLook Scrollbar

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

User avatar
arkos
Quite a regular
Quite a regular
Posts: 49
Joined: Thu Apr 27, 2006 21:45

Problem with WindowsLook Scrollbar

Postby arkos » Mon Jun 05, 2006 01:05

Hey guys,

when I use a windowslook scrollbar in my app I find that the block that goes up and down (vert sbar) will disappear when it gets too far down the bar.

Here is my code:

Code: Select all

CEGUI::Scrollbar* scroll = (CEGUI::Scrollbar*)wmgr.getWindow(sbar);
scroll->setStepSize(.25);


I noticed when I do scroll->setPageSize() the block will stop at the bottom, but the block then acts unexpectedly (when I click down once to .25, the block will be at a different position than if I scroll all the way down and try to go back up to .25)

Basically I want the block to have 5 steps that it can be at (0, .25, .5, .75, 1). I would use a slider, but there is no vertical slider in WindowsLook and I do not wish to make my own. If any one has any advice, I would appreciate it. :D

Return to “Help”

Who is online

Users browsing this forum: No registered users and 8 guests