summary refs log tree commit diff
diff options
context:
space:
mode:
authorMalte E <malte.e@mailbox.org>2022-02-14 14:50:37 +0100
committerMalte E <malte.e@mailbox.org>2022-02-14 14:50:37 +0100
commitddf11d9a8cdd52f5daf85e8e753116d50dd11f48 (patch)
tree5dc9f30aaec1ffd8de8351c2535eca8cdf68df98
parentfix redactions line-wrapping (diff)
downloadnheko-ddf11d9a8cdd52f5daf85e8e753116d50dd11f48.tar.xz
improve spacings
-rw-r--r--resources/qml/MessageView.qml2
-rw-r--r--resources/qml/TimelineRow.qml2
2 files changed, 2 insertions, 2 deletions
diff --git a/resources/qml/MessageView.qml b/resources/qml/MessageView.qml

index f32d68a0..b65b9692 100644 --- a/resources/qml/MessageView.qml +++ b/resources/qml/MessageView.qml
@@ -250,7 +250,7 @@ ScrollView { Column { topPadding: userName_.visible? 4: 0 - bottomPadding: Settings.bubbles? 2 : 3 + bottomPadding: Settings.bubbles? (isSender? 0 : 2) : 3 spacing: 8 visible: (previousMessageUserId !== userId || previousMessageDay !== day || isStateEvent !== previousMessageIsStateEvent) width: parentWidth diff --git a/resources/qml/TimelineRow.qml b/resources/qml/TimelineRow.qml
index c7508a1c..b74fb5c1 100644 --- a/resources/qml/TimelineRow.qml +++ b/resources/qml/TimelineRow.qml
@@ -80,7 +80,7 @@ Item { anchors.left: bubbleOnRight? undefined : parent.left anchors.right: bubbleOnRight? parent.right : undefined property int maxWidth: parent.width-anchors.leftMargin-anchors.rightMargin - width: Settings.bubbles? Math.min(maxWidth,implicitWidth+metadata.width) : maxWidth + width: Settings.bubbles? Math.min(maxWidth,implicitWidth+4) : maxWidth leftPadding: 4 rightPadding: (Settings.bubbles && !isStateEvent)? 4: 2 topPadding: (Settings.bubbles && !isStateEvent)? 4: 2