diff options
author | Sebastian Kügler <sebas@kde.org> | 2015-11-30 01:13:51 +0100 |
---|---|---|
committer | Sebastian Kügler <sebas@kde.org> | 2015-11-30 02:43:40 +0100 |
commit | 52b3c68b24d5c874b6b15dd90a3421d393520120 (patch) | |
tree | 197f429e2c628a01c3859761cf3cb4e4e8d0b42b /qt-mobile/qml/TopBar.qml | |
parent | e12c784db44de46ec7454c4471e8da12ec84b147 (diff) | |
download | subsurface-52b3c68b24d5c874b6b15dd90a3421d393520120.tar.gz |
Align subsurface logo correctly
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 <sebas@kde.org>
Diffstat (limited to 'qt-mobile/qml/TopBar.qml')
-rw-r--r-- | qt-mobile/qml/TopBar.qml | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |