moment/harmonyqml/components/Chat/Daybreak.qml

15 lines
450 B
QML
Raw Normal View History

2019-03-22 14:28:14 +11:00
import QtQuick 2.7
2019-04-29 02:45:12 +10:00
import "../Base" as Base
2019-03-22 14:28:14 +11:00
2019-04-29 01:01:38 +10:00
Base.HNoticeLabel {
text: dateTime.toLocaleDateString()
color: Base.HStyle.chat.daybreak.foreground
backgroundColor: Base.HStyle.chat.daybreak.background
radius: Base.HStyle.chat.daybreak.radius
2019-04-22 10:55:24 +10:00
width: messageDelegate.width
2019-04-29 01:01:38 +10:00
//topPadding: messageDelegate.isFirstMessage ?
//0 : messageDelegate.standardSpacing
//bottomPadding: messageDelegate.standardSpacing
2019-03-22 14:28:14 +11:00
}