mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 12:38:48 +03:00
right-align reactions of right-aligned bubbles
This commit is contained in:
parent
1a7409876e
commit
8fa912ed85
2 changed files with 4 additions and 3 deletions
|
@ -19,8 +19,6 @@ Flow {
|
|||
property string eventId
|
||||
property alias reactions: repeater.model
|
||||
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
spacing: 4
|
||||
|
||||
Repeater {
|
||||
|
|
|
@ -247,8 +247,11 @@ Item {
|
|||
anchors {
|
||||
top: row.bottom
|
||||
topMargin: -2
|
||||
left: row.left
|
||||
left: row.bubbleOnRight? undefined : row.left
|
||||
right: row.bubbleOnRight? row.right : undefined
|
||||
}
|
||||
width: row.maxWidth
|
||||
layoutDirection: row.bubbleOnRight? Qt.RightToLeft : Qt.LeftToRight
|
||||
|
||||
id: reactionRow
|
||||
|
||||
|
|
Loading…
Reference in a new issue