summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <aleixpol@kde.org>2015-10-22 15:14:57 (GMT)
committerAleix Pol <aleixpol@kde.org>2015-10-22 15:14:57 (GMT)
commit912c380f9655d02629a7736d3b129b6acfc55256 (patch)
tree1900c51c06485a16e94c848dd7d2fab0fe689df1
parent9239e6e82c12f0964f7ddb1e37c1ccbc2212af32 (diff)
Show only 3 items in the carroussel
-rw-r--r--discover/qml/Information.qml11
1 files changed, 4 insertions, 7 deletions
diff --git a/discover/qml/Information.qml b/discover/qml/Information.qml
index 03de569..02165eb 100644
--- a/discover/qml/Information.qml
+++ b/discover/qml/Information.qml
@@ -3,7 +3,7 @@ import QtQuick 2.1
PathView {
id: viewItem
interactive: false
- pathItemCount: count
+ pathItemCount: 3
cacheItemCount: count
highlightMoveDuration: 500
readonly property real oriX: viewItem.width/2
@@ -14,16 +14,13 @@ PathView {
startX: oriX; startY: oriY
PathAttribute { name: "itemScale"; value: 1. }
PathLine { x: oriX-500; y: oriY }
- PathLine { x: oriX-800; y: oriY }
PathAttribute { name: "itemScale"; value: .7 }
- PathPercent { value: 0.18 }
+ PathPercent { value: 0.5 }
PathLine { x: oriX-800; y: oriY-1900 }
PathLine { x: oriX+800; y: oriY-1900 }
-
- PathLine { x: oriX+800; y: oriY }
- PathPercent { value: 0.82 }
- PathAttribute { name: "itemScale"; value: .7 }
PathLine { x: oriX+500; y: oriY }
+ PathAttribute { name: "itemScale"; value: .7 }
+ PathPercent { value: 0.5 }
PathLine { x: oriX; y: oriY }
PathAttribute { name: "itemScale"; value: 1 }
PathPercent { value: 1 }