Add "New Message" separator.

This commit is contained in:
Black Hat 2018-08-13 13:07:35 +08:00
parent 65c551c1e4
commit d1b929788e
1 changed files with 26 additions and 3 deletions

View File

@ -195,10 +195,8 @@ Item {
spacing: 8
RowLayout {
readonly property bool sectionVisible: section !== aboveSection
width: parent.width * 0.8
visible: sectionVisible
visible: section !== aboveSection
anchors.horizontalCenter: parent.horizontalCenter
spacing: 8
@ -221,6 +219,31 @@ Item {
}
}
RowLayout {
width: parent.width * 0.8
visible: readMarker === true && index !== 0
anchors.horizontalCenter: parent.horizontalCenter
spacing: 8
Rectangle {
Layout.fillWidth: true
height:2
color: Material.accent
}
Label {
text: "And Now"
color: Material.accent
verticalAlignment: Text.AlignVCenter
}
Rectangle {
Layout.fillWidth: true
height:2
color: Material.accent
}
}
MessageDelegate {}
}