Add time information to the messages
This commit is contained in:
@@ -81,16 +81,24 @@ RowLayout {
|
|||||||
id: column
|
id: column
|
||||||
spacing: Kirigami.Units.smallSpacing
|
spacing: Kirigami.Units.smallSpacing
|
||||||
|
|
||||||
QQC2.Label {
|
RowLayout {
|
||||||
Layout.fillWidth: true
|
QQC2.Label {
|
||||||
topInset: 0
|
Layout.fillWidth: true
|
||||||
|
topInset: 0
|
||||||
|
|
||||||
visible: showAuthor
|
visible: showAuthor
|
||||||
|
|
||||||
text: author.displayName
|
text: author.displayName
|
||||||
font.bold: true
|
font.bold: true
|
||||||
color: author.color
|
color: author.color
|
||||||
wrapMode: Text.Wrap
|
wrapMode: Text.Wrap
|
||||||
|
}
|
||||||
|
|
||||||
|
QQC2.Label {
|
||||||
|
visible: showAuthor
|
||||||
|
text: time.toLocaleTimeString(Locale.ShortFormat)
|
||||||
|
color: Kirigami.Theme.disabledTextColor
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Loader {
|
Loader {
|
||||||
id: replyLoader
|
id: replyLoader
|
||||||
|
|||||||
Reference in New Issue
Block a user