From 966070b4d647b0aa8bbbccd6c47d0a39c336f812 Mon Sep 17 00:00:00 2001 From: miruka Date: Sun, 12 Jul 2020 17:22:28 -0400 Subject: [PATCH] MemberDeviceSection: elide txt instead of wrapping Wrapping the text just makes the section overflow when the member pane gets too narrow. --- TODO.md | 1 - src/gui/Pages/Chat/RoomPane/MemberView/MemberDeviceSection.qml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/TODO.md b/TODO.md index 0eb4f2e1..3b687cdf 100644 --- a/TODO.md +++ b/TODO.md @@ -1,6 +1,5 @@ # TODO -- fix device section headers when members pane is small - when promiting someone in room as admin, rank isn't updated in members list - save and restore status in accounts.json - mark accounts as offline when closing mirage diff --git a/src/gui/Pages/Chat/RoomPane/MemberView/MemberDeviceSection.qml b/src/gui/Pages/Chat/RoomPane/MemberView/MemberDeviceSection.qml index 0a425376..840bbda2 100644 --- a/src/gui/Pages/Chat/RoomPane/MemberView/MemberDeviceSection.qml +++ b/src/gui/Pages/Chat/RoomPane/MemberView/MemberDeviceSection.qml @@ -19,7 +19,7 @@ HRowLayout { } HLabel { - wrapMode: HLabel.Wrap + elide: HLabel.ElideRight verticalAlignment: Qt.AlignVCenter text: