mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
improve spacings
This commit is contained in:
parent
ce13ccd677
commit
ddf11d9a8c
2 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue