Public bug reported:

I'm trying to implement a "page indicator" to be shown when the user
scrolls a Flickable using a UITK ScrollBar. The idea is to mimic a
feature available in Adobe Reader for Android.

i.e. http://imgur.com/a/OzjYG

In order to do this, I have to access the "draggingThumb" property of
the style instance of a UITK ScrollBar, which is meant to be private.

Item {
    [...]
    visible: scrollView.verticalScrollbar.__styleInstance.draggingThumb
}

What it could be useful is to expose this property directly in the ScrollBar.
Using the Flickable properties for this purpose would be a bit complicated, 
since it wouldn't be desiderable to see such overlay during an "ordinary" 
touch/flick event.

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1627078

Title:
  ScrollBars and ScrollView - add 'isDragged' or 'isScrolling' property

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1627078/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to