|InfiniteCanvas scrollbars [message #1732397]
||Mon, 16 May 2016 20:44
| Colin Sharples
Registered: July 2009
Location: Wellington, New Zealand
I have an FXViewer with large contents, so the scrollbars on the InfiniteCanvas need to be shown - I set the scroll bar policies to ALWAYS for both.|
The scroll bar thumbs appear to respond to mouse events, though, which seems a bit odd. That is, if you manually click and drag on the scroll bar thumb, you will see the mouse events go through underneath the thumb and affect whatever parts are underneath. As you drag, if you move the mouse in towards the centre of the canvas, you will see the marquee outline.
This doesn't seem right. Moving the scrollbar thumb should not change the selection in the canvas - it doesn't happen if you use the scroll wheel or arrow keys to pan around. I'm guessing that the scrollbar is not consuming the mouse events so they end up looking through the other parts.
Is this intentional, or a bug? If intentional, I presume it means that I have my selection policy at the wrong place (although I just followed the Logo example for that).
CTG Games Ltd
Wellington, New Zealand
Powered by FUDForum
. Page generated in 0.01906 seconds