Fix date and top padding when loading previous msg
This commit is contained in:
@@ -3,10 +3,11 @@ import "../base" as Base
|
||||
|
||||
Base.HLabel {
|
||||
text: date_time.toLocaleDateString()
|
||||
width: rootCol.width
|
||||
width: messageDelegate.width
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
topPadding: rootCol.isFirstMessage ? 0 : rootCol.standardSpacing
|
||||
bottomPadding: rootCol.standardSpacing
|
||||
topPadding: messageDelegate.isFirstMessage ?
|
||||
0 : messageDelegate.standardSpacing
|
||||
bottomPadding: messageDelegate.standardSpacing
|
||||
font.pixelSize: normalSize * 1.1
|
||||
color: "darkolivegreen"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user