From dae966c9ed509bab775a30e85364a64b77290081 Mon Sep 17 00:00:00 2001 From: Dominik Holland Date: Tue, 30 Aug 2016 17:41:37 +0200 Subject: 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 --- apps/com.pelagicore.music/ClusterWidget.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'apps') 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 -- cgit v1.2.3