summaryrefslogtreecommitdiffstats
path: root/components/package/contents/ui/ListItem.qml
diff options
context:
space:
mode:
authorMichael Bohlender <michael.bohlender@kdemail.net>2016-03-10 13:54:07 +0100
committerMichael Bohlender <michael.bohlender@kdemail.net>2016-03-10 13:54:07 +0100
commit181b39ddd0b3c027341b228ab51482ce4413d3bb (patch)
treedf740e3d4b31e1b9ffe52772aa9dc23aa3176a95 /components/package/contents/ui/ListItem.qml
parent73b2621624c87528ce776b74555ec98c56115661 (diff)
downloadkube-181b39ddd0b3c027341b228ab51482ce4413d3bb.tar.gz
kube-181b39ddd0b3c027341b228ab51482ce4413d3bb.zip
add scaling unit to the theme plugin and use it instaed of the main.qml unit item
Diffstat (limited to 'components/package/contents/ui/ListItem.qml')
-rw-r--r--components/package/contents/ui/ListItem.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/components/package/contents/ui/ListItem.qml b/components/package/contents/ui/ListItem.qml
index 5396645d..bea3c11b 100644
--- a/components/package/contents/ui/ListItem.qml
+++ b/components/package/contents/ui/ListItem.qml
@@ -16,13 +16,14 @@
16 */ 16 */
17 17
18import QtQuick 2.4 18import QtQuick 2.4
19import org.kube.framework.theme 1.0
19 20
20Item { 21Item {
21 id: delegateRoot 22 id: delegateRoot
22 23
23 readonly property bool isCurrentItem: ListView.isCurrentItem 24 readonly property bool isCurrentItem: ListView.isCurrentItem
24 25
25 height: unit.width * 25 26 height: Unit.width * 25
26 width: parent.width 27 width: parent.width
27 28
28 MouseArea { 29 MouseArea {
@@ -60,4 +61,4 @@ Item {
60 opacity: 0.2 61 opacity: 0.2
61 } 62 }
62 } 63 }
63} \ No newline at end of file 64}