diff options
author | Dominik Holland <dominik.holland@pelagicore.com> | 2016-08-30 17:41:37 +0200 |
---|---|---|
committer | Dominik Holland <dominik.holland@pelagicore.com> | 2016-09-01 08:47:38 +0000 |
commit | dae966c9ed509bab775a30e85364a64b77290081 (patch) | |
tree | 162dcf907ee7153401a2b37c93f6230009d9c0d1 /apps | |
parent | dc7f8ff7c14e25f109990dd0cd42776e40d389b0 (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.qml | 5 |
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 |