summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2022-03-10 23:03:52 +0000
committerGitHub <noreply@github.com>2022-03-10 23:03:52 +0000
commitf42b2feaef43dcf34097f7b8b1d440852738795e (patch)
treedb84da6aa4f1dc48f2ee8b5fba9ce9ab3980aae9 /resources
parentEnable online key backup by default (diff)
parentreduce replied-to message to implicitWidth if non-bubble layout is used (diff)
downloadnheko-f42b2feaef43dcf34097f7b8b1d440852738795e.tar.xz
Merge pull request #985 from maltee1/various_bubbles_fixes
Various bubbles fixes
Diffstat (limited to 'resources')
-rw-r--r--resources/qml/Reactions.qml2
-rw-r--r--resources/qml/TimelineRow.qml6
2 files changed, 5 insertions, 3 deletions
diff --git a/resources/qml/Reactions.qml b/resources/qml/Reactions.qml

index cb2bcb24..aaf32647 100644 --- a/resources/qml/Reactions.qml +++ b/resources/qml/Reactions.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 { diff --git a/resources/qml/TimelineRow.qml b/resources/qml/TimelineRow.qml
index 8b34c1ee..97e2bcf0 100644 --- a/resources/qml/TimelineRow.qml +++ b/resources/qml/TimelineRow.qml
@@ -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