right-align reactions of right-aligned bubbles

pull/985/head
Malte E 3 years ago
parent 1a7409876e
commit 8fa912ed85
  1. 2
      resources/qml/Reactions.qml
  2. 5
      resources/qml/TimelineRow.qml

@ -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…
Cancel
Save