From d5fb9327d59d3d273604b29bf7d94b93fc71dbf4 Mon Sep 17 00:00:00 2001 From: Black Hat Date: Sun, 23 Sep 2018 21:14:12 +0800 Subject: [PATCH] Fix "And now" position. --- qml/form/RoomForm.qml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/qml/form/RoomForm.qml b/qml/form/RoomForm.qml index cc623db..ea9b76a 100644 --- a/qml/form/RoomForm.qml +++ b/qml/form/RoomForm.qml @@ -158,22 +158,6 @@ Item { } } - Label { - Layout.alignment: Qt.AlignHCenter - - visible: readMarker === true && index !== 0 - - text: "And Now" - color: "white" - verticalAlignment: Text.AlignVCenter - leftPadding: 8 - rightPadding: 8 - topPadding: 4 - bottomPadding: 4 - - background: Rectangle { color: MSettings.darkTheme ? "#484848" : "grey" } - } - MessageDelegate { visible: eventType === "notice" || eventType === "message" || eventType === "image" || eventType === "video" || eventType === "audio" || eventType === "file" } @@ -193,6 +177,22 @@ Item { color: "grey" font.italic: true } + + Label { + Layout.alignment: Qt.AlignHCenter + + visible: readMarker === true && index !== 0 + + text: "And Now" + color: "white" + verticalAlignment: Text.AlignVCenter + leftPadding: 8 + rightPadding: 8 + topPadding: 4 + bottomPadding: 4 + + background: Rectangle { color: MSettings.darkTheme ? "#484848" : "grey" } + } } ScrollBar.vertical: messageListViewScrollBar