From 0ccfe7d99120e26f94f97ed7d1bfe4b8972faa30 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sun, 1 Sep 2024 11:55:07 -0400 Subject: [PATCH] AuthorDelegate: Add pointing hand cursor to indicate you can tap It's not immediately obvious that you can press on this static text to bring up the user's details. This isn't a problem with the avatar - for example - because it has a pointing hand cursor. Let's do the same here. --- src/timeline/AuthorComponent.qml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/timeline/AuthorComponent.qml b/src/timeline/AuthorComponent.qml index 012e44cf6..85cb2f900 100644 --- a/src/timeline/AuthorComponent.qml +++ b/src/timeline/AuthorComponent.qml @@ -43,7 +43,6 @@ RowLayout { QQC2.AbstractButton { id: nameButton - Layout.fillWidth: true contentItem: QQC2.Label { text: root.author.disambiguatedName color: root.author.color @@ -53,6 +52,10 @@ RowLayout { } Accessible.name: contentItem.text onClicked: RoomManager.resolveResource(root.author.uri) + + HoverHandler { + cursorShape: Qt.PointingHandCursor + } } QQC2.Label { id: timeLabel