aboutsummaryrefslogtreecommitdiffstats
path: root/imports
diff options
context:
space:
mode:
authorJohan Montan <johan.montan@gmail.com>2016-09-16 15:00:01 +0200
committerErik Botö <erik.boto@pelagicore.com>2016-10-24 11:53:50 +0000
commit9bc6969feeb58313198a724846b528df2cdeea58 (patch)
tree475cf7ddb61ae81fbabec858a5e8003e8e237891 /imports
parent3afd286f5a364c4ba91cc5e4d7b7a2ef898e3c86 (diff)
Scrolling/Flickering disabled for static lists
Change-Id: I68414160bf3582a1c4f67d0892458bb55de5c291 Reviewed-by: Nedim Hadzic <nedim.hadzic@pelagicore.com>
Diffstat (limited to 'imports')
-rw-r--r--imports/shared/controls/ListViewManager.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/imports/shared/controls/ListViewManager.qml b/imports/shared/controls/ListViewManager.qml
index 1889a8f..1ff9bcd 100644
--- a/imports/shared/controls/ListViewManager.qml
+++ b/imports/shared/controls/ListViewManager.qml
@@ -41,6 +41,7 @@ UIElement {
property alias currentIndex: listView.currentIndex
property alias header: listView.header
property bool scrollVisible: false
+ property bool interactive: true
ListView {
id: listView
@@ -49,6 +50,7 @@ UIElement {
anchors.rightMargin: root.scrollVisible ? 5 : 0
highlightRangeMode: root.scrollVisible ? ListView.StrictlyEnforceRange : ListView.NoHighlightRange
clip: true
+ interactive: root.interactive
currentIndex: root.scrollVisible ? sliderCOntainer.position*model.count : 0
}