Fix #117.
This commit is contained in:
@@ -54,13 +54,19 @@ ColumnLayout {
|
||||
source: author.paintable
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
Label {
|
||||
Layout.preferredWidth: 32
|
||||
Layout.preferredHeight: 32
|
||||
Layout.alignment: Qt.AlignTop
|
||||
|
||||
color: "transparent"
|
||||
visible: !(sentByMe || avatarVisible)
|
||||
|
||||
text: Qt.formatDateTime(time, "hh:mm")
|
||||
color: "#5B7480"
|
||||
|
||||
font.pixelSize: 10
|
||||
horizontalAlignment: Label.AlignHCenter
|
||||
verticalAlignment: Label.AlignVCenter
|
||||
}
|
||||
|
||||
Control {
|
||||
@@ -78,6 +84,8 @@ ColumnLayout {
|
||||
AutoMouseArea {
|
||||
anchors.fill: parent
|
||||
|
||||
id: messageMouseArea
|
||||
|
||||
onSecondaryClicked: {
|
||||
messageContextMenu.root = root
|
||||
messageContextMenu.model = model
|
||||
@@ -224,15 +232,4 @@ ColumnLayout {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Label {
|
||||
// Layout.leftMargin: sentByMe ? 12 : 48
|
||||
|
||||
// text: Qt.formatDateTime(time, "dd/MM/yyyy '-' hh:mm")
|
||||
|
||||
// visible: index === messageListView.currentIndex
|
||||
|
||||
// font.pixelSize: 13
|
||||
// verticalAlignment: Text.AlignVCenter
|
||||
// }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user