aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@pelagicore.com>2016-08-30 17:41:37 +0200
committerDominik Holland <dominik.holland@pelagicore.com>2016-09-01 08:47:38 +0000
commitdae966c9ed509bab775a30e85364a64b77290081 (patch)
tree162dcf907ee7153401a2b37c93f6230009d9c0d1 /apps
parentdc7f8ff7c14e25f109990dd0cd42776e40d389b0 (diff)
Moved the cluster detection into the AutoConfig.qml
This is needed as also the multi-process applications need to know whether to display the cluster widget and how big it can be rendered Change-Id: I589439f50fa3aa60630dd7b1fb6e4008a3d1b8c2 Reviewed-by: Nedim Hadzic <nedim.hadzic@pelagicore.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/com.pelagicore.music/ClusterWidget.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/com.pelagicore.music/ClusterWidget.qml b/apps/com.pelagicore.music/ClusterWidget.qml
index 3f5c806..654f87a 100644
--- a/apps/com.pelagicore.music/ClusterWidget.qml
+++ b/apps/com.pelagicore.music/ClusterWidget.qml
@@ -36,12 +36,13 @@ import controls 1.0
import "."
Item {
- width: 1300
+ width: Style.clusterWidth * 0.677
height: parent.height
+ anchors.horizontalCenter: parent.horizontalCenter
ListView {
id: playListView
- width: 400
+ width: parent.width * 0.3
height: parent.height
anchors.centerIn: parent
clip: true