Double Click on 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

User avatar
cippyboy
Quite a regular
Quite a regular
Posts: 51
Joined: Wed Jul 30, 2008 13:23

Double Click on scrollbars

Postby cippyboy » Tue Sep 08, 2009 16:01

Hi,

This is pretty simple but I have no idea how to stop it. Double clicking on vertical scrollbars, or rather fast consecutive clicks make it scroll to bottom or to top instead of stepping. Is there a way to disable this behaviour ?

Jamarr
CEGUI MVP
CEGUI MVP
Posts: 812
Joined: Tue Jun 03, 2008 23:59
Location: USA

Re: Double Click on scrollbars

Postby Jamarr » Tue Sep 08, 2009 18:17

I can say that I've never seen this behavior myself. Also I am fairly certain that the scrollbar does not 'step' when you click on it, it 'pages'. What is the page-size for the scrollbar?

*assuming you are talking about clicking on the actual bar, and not the scrollbar buttons.
If somebody helps you by replying to your thread, upvote him/her as a thanks! Make sure to include your CEGUI.log and everything you tried when posting! And remember that we are not magicians!

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Double Click on scrollbars

Postby CrazyEddie » Wed Sep 09, 2009 08:38

Yeah, this sounds 'off' somehow. It's certainly not a feature that's coded in!

CE.

User avatar
cippyboy
Quite a regular
Quite a regular
Posts: 51
Joined: Wed Jul 30, 2008 13:23

Re: Double Click on scrollbars

Postby cippyboy » Thu Sep 10, 2009 10:20

Sorry, just realized it could be interpreted as clicking on the space between the buttons. I meant clicking on it's up/down buttons, and I haven't modified the step size for the scrollbar in question; it's length is ~ 1/3 * 1024.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Double Click on scrollbars

Postby CrazyEddie » Thu Sep 10, 2009 11:56

The default step size is 1. If the rest of the scrollbar (document and page) is not set up in a way that a step size of 1 makes since, this may cause your issue. So in that case, changing the step size to something sensible within the context of the document and page size should fix the issue.

CE.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 6 guests