From 9d6ba324fb9c9ff041e6c2abf88d42e3a6ff53f8 Mon Sep 17 00:00:00 2001 From: Nate Graham Date: Sun, 21 Apr 2024 21:39:17 +0200 Subject: [PATCH] Use more appropriate icons and tooltips for the room info drawer handles Right now they use the standard text but left and right arrow icons, which is a bit odd, and I think fails to convey what will happen when clicked especially whern the drawer is closed. Instead, let's use descriptive tooltip text for both, and a descriptive icon for the the "this will open the drawer" handle button. For the one to close the drawer, the default icon seems better, so let's stop overriding it. --- src/qml/Main.qml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/qml/Main.qml b/src/qml/Main.qml index f38d38112..0d536fd02 100644 --- a/src/qml/Main.qml +++ b/src/qml/Main.qml @@ -162,8 +162,11 @@ Kirigami.ApplicationWindow { connection: root.connection - handleOpenIcon.source: "arrow-right" - handleClosedIcon.source: "arrow-left" + handleClosedIcon.source: "documentinfo-symbolic" + handleClosedToolTip: i18nc("@action:button", "Show Room Information") + + // Default icon is fine, only need to override the tooltip text + handleOpenToolTip: i18nc("@action:button", "Close Room Information Drawer") // Connect to the onClicked function of the RoomDrawer handle button Connections {