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() signal notificationButtonClicked()
objectName: "statusToolBar" objectName: "statusToolBar"
implicitWidth: visible ? 518 : 0 leftPadding: 4
implicitHeight: visible ? 56 : 0
leftPadding: 24
rightPadding: 10 rightPadding: 10
topPadding: 8 topPadding: 8
bottomPadding: 4 bottomPadding: 4
background: null background: null
RowLayout { contentItem: RowLayout {
anchors.fill: parent
spacing: 0 spacing: 0
StatusFlatButton { StatusFlatButton {
Layout.leftMargin: 20
objectName: "toolBarBackButton" objectName: "toolBarBackButton"
icon.name: "arrow-left" icon.name: "arrow-left"
visible: !!root.backButtonName visible: !!root.backButtonName