diff options
Diffstat (limited to 'framework/qml/ListView.qml')
-rw-r--r-- | framework/qml/ListView.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/qml/ListView.qml b/framework/qml/ListView.qml index eafa428d..52942b65 100644 --- a/framework/qml/ListView.qml +++ b/framework/qml/ListView.qml | |||
@@ -24,9 +24,10 @@ import org.kube.framework 1.0 as Kube | |||
24 | ListView { | 24 | ListView { |
25 | id: root | 25 | id: root |
26 | property Item mouseProxy: scrollHelper | 26 | property Item mouseProxy: scrollHelper |
27 | property int availableWidth: scrollBar.visible ? width - scrollBar.width: width | ||
27 | 28 | ||
28 | clip: true | 29 | clip: true |
29 | ScrollBar.vertical: Kube.ScrollBar {} | 30 | ScrollBar.vertical: Kube.ScrollBar { id: scrollBar } |
30 | 31 | ||
31 | Kube.ScrollHelper { | 32 | Kube.ScrollHelper { |
32 | id: scrollHelper | 33 | id: scrollHelper |