From 31539e060689c5b84c1a0b43c94b797d3bc9c429 Mon Sep 17 00:00:00 2001 From: Noelia Date: Fri, 3 Jun 2022 12:48:33 +0200 Subject: [PATCH] fix(StatusListItemTag): Added margins to better center the content Added margins to better center the content --- ui/StatusQ/src/StatusQ/Components/StatusListItemTag.qml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/ui/StatusQ/src/StatusQ/Components/StatusListItemTag.qml b/ui/StatusQ/src/StatusQ/Components/StatusListItemTag.qml index 0a4483f866..f6cfbbff3c 100644 --- a/ui/StatusQ/src/StatusQ/Components/StatusListItemTag.qml +++ b/ui/StatusQ/src/StatusQ/Components/StatusListItemTag.qml @@ -6,7 +6,7 @@ import StatusQ.Core.Theme 0.1 Rectangle { id: root - width: layout.width + width: layout.width + layout.anchors.margins height: 30 color: Theme.palette.primaryColor3 radius: 15 @@ -39,13 +39,12 @@ Rectangle { RowLayout { id: layout - height: parent.height - spacing: 5 + anchors.margins: 6 StatusSmartIdenticon { id: iconOrImage - Layout.leftMargin: 5 + Layout.leftMargin: 4 image: root.image icon: root.icon name: root.title @@ -66,7 +65,6 @@ Rectangle { color: Theme.palette.primaryColor1 icon: "close-circle" visible: closeButtonVisible - Layout.rightMargin: 5 MouseArea { id: mouseArea anchors.fill: parent