Skip to content
Snippets Groups Projects
Commit ddf11d9a authored by Malte E's avatar Malte E
Browse files

improve spacings

parent ce13ccd6
No related branches found
No related tags found
No related merge requests found
Pipeline #2633 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment