From 9981dfd682b3938b49deff9cce6a87f3b9586d32 Mon Sep 17 00:00:00 2001 From: miruka Date: Tue, 17 Mar 2020 18:05:51 -0400 Subject: [PATCH] Add room header pane buttons tooltips --- src/gui/Pages/Chat/RoomHeader.qml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gui/Pages/Chat/RoomHeader.qml b/src/gui/Pages/Chat/RoomHeader.qml index 2a03e7ab..ae6c3585 100644 --- a/src/gui/Pages/Chat/RoomHeader.qml +++ b/src/gui/Pages/Chat/RoomHeader.qml @@ -21,9 +21,10 @@ Rectangle { HButton { id: goToMainPaneButton - icon.name: "go-back-to-main-pane" padded: false visible: Layout.preferredWidth > 0 + icon.name: "go-back-to-main-pane" + toolTip.text: qsTr("Go back to main pane") onClicked: mainUI.mainPane.toggleFocus() @@ -116,8 +117,9 @@ Rectangle { HButton { id: goToRoomPaneButton padded: false - icon.name: "go-to-room-pane" visible: goToMainPaneButton.visible + icon.name: "go-to-room-pane" + toolTip.text: qsTr("Go to room pane") onClicked: chat.roomPane.toggleFocus()