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 ?
Double Click on scrollbars
Moderators: CEGUI MVP, CEGUI Team
Re: Double Click on scrollbars
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.
*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!
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: Double Click on scrollbars
Yeah, this sounds 'off' somehow. It's certainly not a feature that's coded in!
CE.
CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Re: Double Click on scrollbars
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.
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: Double Click on scrollbars
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.
CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Who is online
Users browsing this forum: No registered users and 6 guests