API Documentation

Documentation for developing SailfishOS applications

HorizontalScrollDecorator QML Type

Adds a horizontal scroll indicator to a flickable Silica view More...

Import Statement: import Sailfish.Silica 1.0


Detailed Description

The HorizontalScrollDecorator type adds a horizontal styled scroll decorator to the bottom edge of a SilicaFlickable, SilicaListView, SilicaGridView or SilicaWebView.

While it is sufficient to declare the HorizontalScrollDecorator as a child of a Flickable, for best performance it is recommended that the flickable be specified explictly.

 SilicaListView {
     id: listView
     model: myModel
     delegate: myDelegate
     orientation: ListView.horizontal

     HorizontalScrollDecorator { flickable: listView }

See also VerticalScrollDecorator and ScrollDecorator.

Property Documentation

flickable : Item

Specifies the SilicaFlickable, SilicaListView, SilicaGridView or SilicaWebView on which the HorizontalScrollDecorator is applied.

If flickable is not supplied then the scroll indicator will be applied to the closest ancestor Flickable.

We use cookies to improve your user experience and to help us to develop our services. By continuing to browse the site, you approve of our use of cookies.