Merge pull request #985 from maltee1/various_bubbles_fixes

Various bubbles fixes
pull/986/head
DeepBlueV7.X 3 years ago committed by GitHub
commit f42b2feaef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      resources/qml/Reactions.qml
  2. 6
      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 {

@ -103,6 +103,7 @@ Item {
Layout.row: 0
Layout.column: 0
Layout.fillWidth: true
Layout.maximumWidth: Settings.bubbles? Number.MAX_VALUE : implicitWidth
Layout.bottomMargin: visible? 2 : 0
Layout.preferredHeight: height
id: reply
@ -247,8 +248,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