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>
This commit is contained in:
Sebastian Kügler 2015-11-30 01:13:51 +01:00
parent e12c784db4
commit 52b3c68b24

View file

@ -21,9 +21,9 @@ Rectangle {
anchors.bottom: topPart.bottom anchors.bottom: topPart.bottom
anchors.bottomMargin: MobileComponents.Units.smallSpacing anchors.bottomMargin: MobileComponents.Units.smallSpacing
anchors.left: topPart.left anchors.left: topPart.left
anchors.leftMargin: MobileComponents.Units.largeSpacing / 2 anchors.leftMargin: MobileComponents.Units.smallSpacing
anchors.right: topPart.right anchors.right: topPart.right
anchors.rightMargin: MobileComponents.Units.largeSpacing / 2 anchors.rightMargin: MobileComponents.Units.smallSpacing
Item { Item {
Layout.preferredHeight: subsurfaceLogo.height Layout.preferredHeight: subsurfaceLogo.height
Rectangle { color: "green"; anchors.fill: parent; } Rectangle { color: "green"; anchors.fill: parent; }