From afa9c555ceae984f00e0cd1098ee6c86a7625fcb Mon Sep 17 00:00:00 2001 From: Andrei Smirnov Date: Fri, 20 Aug 2021 07:41:56 +0300 Subject: [PATCH] Addressed PR comment --- ui/app/AppLayouts/Chat/ChatColumn.qml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/ui/app/AppLayouts/Chat/ChatColumn.qml b/ui/app/AppLayouts/Chat/ChatColumn.qml index 0963facbc1..d3bf438541 100644 --- a/ui/app/AppLayouts/Chat/ChatColumn.qml +++ b/ui/app/AppLayouts/Chat/ChatColumn.qml @@ -305,14 +305,18 @@ Item { } } - Rectangle { - id: blockedBanner + Item { Layout.fillWidth: true - height: 40 + Layout.preferredHeight: 40 Layout.alignment: Qt.AlignHCenter visible: isBlocked - color: Style.current.red - opacity: 0.1 + + Rectangle { + id: blockedBanner + anchors.fill: parent + color: Style.current.red + opacity: 0.1 + } Text { id: blockedText