summaryrefslogtreecommitdiffstats
path: root/framework/qml/ConversationView.qml
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-07-12 03:56:53 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-07-12 03:58:25 +0200
commitc7d0845fb34d7ccea3b754c6bc9cbbc391bfa12d (patch)
treee1f8e2394de59e8f4350ff4fde5f9c40d4363cd7 /framework/qml/ConversationView.qml
parent03d607e379ac9fe48315ce121ada76338ed6686d (diff)
downloadkube-c7d0845fb34d7ccea3b754c6bc9cbbc391bfa12d.tar.gz
kube-c7d0845fb34d7ccea3b754c6bc9cbbc391bfa12d.zip
A listview with sane scrolling
Diffstat (limited to 'framework/qml/ConversationView.qml')
-rw-r--r--framework/qml/ConversationView.qml8
1 files changed, 2 insertions, 6 deletions
diff --git a/framework/qml/ConversationView.qml b/framework/qml/ConversationView.qml
index 2f499752..9c21b470 100644
--- a/framework/qml/ConversationView.qml
+++ b/framework/qml/ConversationView.qml
@@ -1,5 +1,6 @@
1/* 1/*
2 * Copyright (C) 2016 Michael Bohlender, <michael.bohlender@kdemail.net> 2 * Copyright (C) 2016 Michael Bohlender, <michael.bohlender@kdemail.net>
3 * Copyright (C) 2017 Christian Mollekopf, <mollekopf@kolabsystems.com>
3 * 4 *
4 * This program is free software; you can redistribute it and/or modify 5 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by 6 * it under the terms of the GNU General Public License as published by
@@ -59,7 +60,7 @@ Rectangle {
59 60
60 color: Kube.Colors.backgroundColor 61 color: Kube.Colors.backgroundColor
61 62
62 ListView { 63 Kube.ListView {
63 id: listView 64 id: listView
64 65
65 anchors.fill: parent 66 anchors.fill: parent
@@ -110,11 +111,6 @@ Rectangle {
110 //Setting the currentIndex results in further lags. So we don't do that either. 111 //Setting the currentIndex results in further lags. So we don't do that either.
111 // currentIndex: root.currentIndex 112 // currentIndex: root.currentIndex
112 113
113 boundsBehavior: Flickable.StopAtBounds
114
115 //default is 1500, which is not usable with a mouse
116 flickDeceleration: 1500
117
118 //Optimize for view quality 114 //Optimize for view quality
119 pixelAligned: true 115 pixelAligned: true
120 116