From 4463d676d5558ae6a4d47f758bd0198872ada06a Mon Sep 17 00:00:00 2001 From: Black Hat Date: Sun, 17 Mar 2019 19:49:06 +0800 Subject: [PATCH] Change to-read-marker bottom a bit. --- imports/Spectral/Panel/RoomPanel.qml | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/imports/Spectral/Panel/RoomPanel.qml b/imports/Spectral/Panel/RoomPanel.qml index 62e09b3..8cb5ce5 100644 --- a/imports/Spectral/Panel/RoomPanel.qml +++ b/imports/Spectral/Panel/RoomPanel.qml @@ -244,24 +244,21 @@ Item { } } - RoundButton { - width: 64 - height: 64 - anchors.right: parent.right + Button { anchors.top: parent.top - - id: goBottomFab + anchors.horizontalCenter: parent.horizontalCenter visible: currentRoom && currentRoom.hasUnreadMessages - contentItem: MaterialIcon { - anchors.fill: parent + topPadding: 8 + bottomPadding: 8 + leftPadding: 24 + rightPadding: 24 - icon: "\ue316" - color: "white" - } + Material.foreground: MPalette.foreground + Material.background: MPalette.banner - Material.background: Material.accent + text: "Go to read marker" onClicked: goToEvent(currentRoom.readMarkerEventId) }