mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
Merge pull request #985 from maltee1/various_bubbles_fixes
Various bubbles fixes
This commit is contained in:
commit
f42b2feaef
2 changed files with 5 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 {
|
||||||
|
|
|
@ -103,6 +103,7 @@ Item {
|
||||||
Layout.row: 0
|
Layout.row: 0
|
||||||
Layout.column: 0
|
Layout.column: 0
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.maximumWidth: Settings.bubbles? Number.MAX_VALUE : implicitWidth
|
||||||
Layout.bottomMargin: visible? 2 : 0
|
Layout.bottomMargin: visible? 2 : 0
|
||||||
Layout.preferredHeight: height
|
Layout.preferredHeight: height
|
||||||
id: reply
|
id: reply
|
||||||
|
@ -247,8 +248,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