ScrollDecorator QML Type
Adds horizontal and vertical scroll indicators to a flickable Silica view More...
Import Statement: | import Sailfish.Silica 1.0 |
Properties
Detailed Description
The ScrollDecorator type adds horizontal and vertical styled scroll decorators to the edges of a SilicaFlickable, SilicaListView, or SilicaGridView.
While it is sufficient to declare the ScrollDecorator as a child of a Flickable, for best performance it is recommended that the flickable be specified explicitly.
SilicaFlickable {
id: flick
contentWidth: width * 2
contentHeight: height * 2
ScrollDecorator { flickable: flick }
}
See also HorizontalScrollDecorator and VerticalScrollDecorator.
Property Documentation