Hi,
On Fri, 2009-02-20 at 09:07 +0100, Mike Massonnet wrote:
Le Fri, 20 Feb 2009 16:03:05 +0800,
Kiran Bhide (RBEI/ECG3) kiran.bh...@in.bosch.com a écrit :
Hello,
I am using tidy-finger-scroll in kinetic mode in a particular
application. Using: tidy-1.0 with Clutter 0.8
Does anybody have an idea how to always hide the scrollbar, even
while scrolling ?
Thanks !
Kiran
I don't know how it changed lately, but the scrollbar you see is
hardcoded in tidy, so it displays always. The only solution is to
modify the source and remove the calls to (off my head)
scrollbars_show. I don't remember which object exactly, but one
related from the viewport to the finger_scroll_view.
Mike
TidyFingerScroll is an extension of TidyScrollView. To hide the
scroll-bars permanently, you can set the size of the scroll-bars to zero
by using tidy_scroll_view_get_[hv]scroll_bar() and setting the
'xthickness' and 'ythickness' stylable values using:
tidy_stylable_set (TIDY_STYLABLE (vscrollbar), xthickness, 0, NULL);
tidy_stylable_set (TIDY_STYLABLE (hscrollbar), ythickness, 0, NULL);
I'd recommend doing it this way rather than changing the Tidy code.
Other tricks, if you set the scroll-bars reactive, they'll remain
visible permanently too (and will be interactive).
--
Chris Lord, Intel Open Source Technology Centre
--
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com