Skip to content
Snippets Groups Projects
Commit 8fa912ed authored by Malte E's avatar Malte E
Browse files

right-align reactions of right-aligned bubbles

parent 1a740987
No related branches found
No related tags found
No related merge requests found
...@@ -19,8 +19,6 @@ Flow { ...@@ -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 { ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment