Fix mode without avatar

It seems that this mode didn't get much love when I added the bubbles so
it was quite broken. This patches removes the bubbles and fix the
alignment issues when using this mode.

We probably should rename it to compact mode in a follow up commit (but
not this one so we can backport it to the stable branch).


(cherry picked from commit dded804f00)
This commit is contained in:
Carl Schwan
2021-05-23 00:36:31 +02:00
parent 530b4c24a0
commit 1e047a8ff1
3 changed files with 35 additions and 18 deletions

View File

@@ -32,7 +32,7 @@ MouseArea {
id: avatatReply
anchors.left: replyLeftBorder.right
anchors.leftMargin: Kirigami.Units.smallSpacing
width: Kirigami.Units.gridUnit
width: visible ? Kirigami.Units.gridUnit : 0
height: Kirigami.Units.gridUnit
sourceSize.width: width
sourceSize.height: height