From 060b98a74d3ae5a0565f9f1a5cd9ac483ddfadf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Tinkl?= Date: Tue, 20 Sep 2022 11:26:49 +0200 Subject: [PATCH] fix(StatusChatInfoButton): fix vertical title alignment do not display the subtitle when it's empty --- ui/StatusQ/src/StatusQ/Controls/StatusChatInfoButton.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/StatusQ/src/StatusQ/Controls/StatusChatInfoButton.qml b/ui/StatusQ/src/StatusQ/Controls/StatusChatInfoButton.qml index ef8154442b..b4ed2f92e2 100644 --- a/ui/StatusQ/src/StatusQ/Controls/StatusChatInfoButton.qml +++ b/ui/StatusQ/src/StatusQ/Controls/StatusChatInfoButton.qml @@ -143,6 +143,7 @@ Button { StatusSelectableText { Layout.fillWidth: implicitWidth + separator.width + pinIcon.width + pinText.width > subtitleRow.width text: root.subTitle + visible: root.subTitle color: Theme.palette.baseColor1 font.pixelSize: 12 onLinkActivated: root.linkActivated(link)