From aa76d95e0a22917bb8d5bb76f03cdc2453c3b3ef Mon Sep 17 00:00:00 2001 From: Iktwo Sh Date: Mon, 15 Sep 2014 22:03:26 -0700 Subject: [PATCH] Update margins --- qml/PlaybackControls.qml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/qml/PlaybackControls.qml b/qml/PlaybackControls.qml index e483af3..a5b8935 100644 --- a/qml/PlaybackControls.qml +++ b/qml/PlaybackControls.qml @@ -95,6 +95,11 @@ Rectangle { RowLayout { anchors.fill: parent + Item { + height: 1 + Layout.preferredWidth: 4 * ScreenValues.dpMultiplier + } + Label { /// TODO: add animation where this flashes if paused Layout.fillWidth: true @@ -157,18 +162,21 @@ Rectangle { renderType: Text.NativeRendering font.pixelSize: 12 * ScreenValues.dpMultiplier } + + Item { + height: 1 + Layout.preferredWidth: 4 * ScreenValues.dpMultiplier + } } } Label { id: songLabel - anchors { - left: parent.left - right: parent.right - margins: 1 * ScreenValues.dpMultiplier - } + anchors.horizontalCenter: parent.horizontalCenter + width: parent.width - (16 * ScreenValues.dpMultiplier) + Layout.preferredWidth: parent.width - (16 * ScreenValues.dpMultiplier) color: Style.TEXT_COLOR_DARK renderType: Text.NativeRendering font.pixelSize: 14 * ScreenValues.dpMultiplier