From 52b3c68b24d5c874b6b15dd90a3421d393520120 Mon Sep 17 00:00:00 2001 From: Sebastian Kügler Date: Mon, 30 Nov 2015 01:13:51 +0100 Subject: Align subsurface logo correctly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The right hand side of the logo was slightly off of the left orientation line for the rest of the layout. This changes it to Units.smallSpacing, which is used for this kind of spacing. Signed-off-by: Sebastian Kügler --- qt-mobile/qml/TopBar.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qt-mobile/qml/TopBar.qml') diff --git a/qt-mobile/qml/TopBar.qml b/qt-mobile/qml/TopBar.qml index 0dd9751a1..27fa00604 100644 --- a/qt-mobile/qml/TopBar.qml +++ b/qt-mobile/qml/TopBar.qml @@ -21,9 +21,9 @@ Rectangle { anchors.bottom: topPart.bottom anchors.bottomMargin: MobileComponents.Units.smallSpacing anchors.left: topPart.left - anchors.leftMargin: MobileComponents.Units.largeSpacing / 2 + anchors.leftMargin: MobileComponents.Units.smallSpacing anchors.right: topPart.right - anchors.rightMargin: MobileComponents.Units.largeSpacing / 2 + anchors.rightMargin: MobileComponents.Units.smallSpacing Item { Layout.preferredHeight: subsurfaceLogo.height Rectangle { color: "green"; anchors.fill: parent; } -- cgit v1.2.3-70-g09d2