f0dab1801a
Qt somehow handles scrolling on new messages on its own when the ListView direction is bottom to top. In normal top to bottom, manual scrolling is completly buggy.
13 lines
347 B
QML
13 lines
347 B
QML
import QtQuick 2.7
|
|
import "../base" as Base
|
|
|
|
Base.HLabel {
|
|
text: date_time.toLocaleDateString()
|
|
width: rootCol.width
|
|
horizontalAlignment: Text.AlignHCenter
|
|
topPadding: rootCol.isFirstMessage ? 0 : rootCol.standardSpacing
|
|
bottomPadding: rootCol.standardSpacing
|
|
font.pixelSize: normalSize * 1.1
|
|
color: "darkolivegreen"
|
|
}
|