From 7c0710d44570f3446010a68072e276ece284ce89 Mon Sep 17 00:00:00 2001 From: James Graham Date: Thu, 26 Jun 2025 14:50:07 +0100 Subject: [PATCH] ActionToolbar is no longer needed now there is only 1 button --- src/rooms/UserInfo.qml | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/src/rooms/UserInfo.qml b/src/rooms/UserInfo.qml index 7bc5be493..b4ab47ba6 100644 --- a/src/rooms/UserInfo.qml +++ b/src/rooms/UserInfo.qml @@ -95,23 +95,19 @@ RowLayout { window: QQC2.ApplicationWindow.window as Kirigami.ApplicationWindow } } - - Kirigami.ActionToolBar { - alignment: Qt.AlignRight + QQC2.ToolButton { display: QQC2.Button.IconOnly - - Layout.fillWidth: true - Layout.preferredWidth: maximumContentWidth - - actions: [ - Kirigami.Action { - text: i18n("Open Settings") - icon.name: "settings-configure-symbolic" - onTriggered: { - NeoChatSettingsView.open(); - } + action: Kirigami.Action { + text: i18n("Open Settings") + icon.name: "settings-configure-symbolic" + onTriggered: { + NeoChatSettingsView.open(); } - ] + } + + QQC2.ToolTip.text: text + QQC2.ToolTip.visible: hovered + QQC2.ToolTip.delay: Kirigami.Units.toolTipDelay } Component {