fix: Misaligned profile image in chat header

align the left padding with the chat contents; reapply the needed extra
margin for the back button

Fixes #12859
This commit is contained in:
Lukáš Tinkl 2023-11-24 00:02:29 +01:00 committed by Lukáš Tinkl
parent 074ce22d6e
commit db8cb6c74c
1 changed files with 3 additions and 5 deletions

View File

@ -18,18 +18,16 @@ ToolBar {
signal notificationButtonClicked()
objectName: "statusToolBar"
implicitWidth: visible ? 518 : 0
implicitHeight: visible ? 56 : 0
leftPadding: 24
leftPadding: 4
rightPadding: 10
topPadding: 8
bottomPadding: 4
background: null
RowLayout {
anchors.fill: parent
contentItem: RowLayout {
spacing: 0
StatusFlatButton {
Layout.leftMargin: 20
objectName: "toolBarBackButton"
icon.name: "arrow-left"
visible: !!root.backButtonName