mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +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 string eventId
|
||||||
property alias reactions: repeater.model
|
property alias reactions: repeater.model
|
||||||
|
|
||||||
anchors.left: parent.left
|
|
||||||
anchors.right: parent.right
|
|
||||||
spacing: 4
|
spacing: 4
|
||||||
|
|
||||||
Repeater {
|
Repeater {
|
||||||
|
|
|
@ -247,8 +247,11 @@ Item {
|
||||||
anchors {
|
anchors {
|
||||||
top: row.bottom
|
top: row.bottom
|
||||||
topMargin: -2
|
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
|
id: reactionRow
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue