From 86a58d3298b42fc68ac7d53430bd4a36079006d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Tinkl?= Date: Wed, 12 Apr 2023 12:38:38 +0200 Subject: [PATCH] chore(StatusStickersPopup): unify the footer height and fix spacing --- ui/imports/shared/status/StatusStickersPopup.qml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/ui/imports/shared/status/StatusStickersPopup.qml b/ui/imports/shared/status/StatusStickersPopup.qml index f708c2a450..109db7f6bd 100644 --- a/ui/imports/shared/status/StatusStickersPopup.qml +++ b/ui/imports/shared/status/StatusStickersPopup.qml @@ -250,14 +250,15 @@ Popup { RowLayout { id: footerContent Layout.fillWidth: true + Layout.preferredHeight: 24 Layout.rightMargin: Style.current.padding / 2 Layout.leftMargin: Style.current.padding / 2 spacing: Style.current.padding / 2 StatusFlatRoundButton { id: btnAddStickerPack - implicitHeight: 40 - implicitWidth: 24 + Layout.preferredWidth: 24 + Layout.preferredHeight: 24 icon.name: "add" type: StatusFlatRoundButton.Type.Tertiary color: "transparent" @@ -314,10 +315,8 @@ Popup { model: d.stickerPacksLoading ? 7 : 0 delegate: Rectangle { - width: 24 - height: 24 - Layout.preferredHeight: height - Layout.preferredWidth: width + Layout.preferredWidth: 24 + Layout.preferredHeight: 24 radius: width / 2 color: Style.current.backgroundHover }