From 5991d59ddd67f5e60cef484223a9ccf2c1ef7975 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Tue, 22 Dec 2020 15:22:35 +0100 Subject: [PATCH] Fix not eliding text in USerDetailDialog Fix: #169 --- imports/NeoChat/Dialog/UserDetailDialog.qml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/imports/NeoChat/Dialog/UserDetailDialog.qml b/imports/NeoChat/Dialog/UserDetailDialog.qml index 34d442075..0f57cb8f2 100644 --- a/imports/NeoChat/Dialog/UserDetailDialog.qml +++ b/imports/NeoChat/Dialog/UserDetailDialog.qml @@ -29,7 +29,11 @@ Kirigami.OverlaySheet { topPadding: 0 header: Kirigami.Heading { + id: heading text: i18nc("Account detail dialog", "Account detail - %1", displayName) + elide: Text.ElideRight + QQC2.ToolTip.visible: truncated && hovered + QQC2.ToolTip.text: text } contentItem: ColumnLayout {