improve spacings

pull/920/head
Malte E 3 years ago
parent ce13ccd677
commit ddf11d9a8c
  1. 2
      resources/qml/MessageView.qml
  2. 2
      resources/qml/TimelineRow.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

@ -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

Loading…
Cancel
Save