From 159f4e3d154cb043d33bf125319cf241cafcbe53 Mon Sep 17 00:00:00 2001 From: miruka Date: Fri, 10 Jul 2020 16:45:31 -0400 Subject: [PATCH] Set a maximum width on member profile avatar --- TODO.md | 2 +- src/gui/Pages/Chat/RoomPane/MemberView/MemberProfile.qml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/TODO.md b/TODO.md index ae41ab47..e09678fb 100644 --- a/TODO.md +++ b/TODO.md @@ -1,6 +1,6 @@ # TODO -- profile max avatar width +- account can't see another's status message once it goes offline - retrieve last seen time for offline members on hover/in profile - auto-away after a configurable idle time - status based on process detection diff --git a/src/gui/Pages/Chat/RoomPane/MemberView/MemberProfile.qml b/src/gui/Pages/Chat/RoomPane/MemberView/MemberProfile.qml index 998afe67..34d1c7d6 100644 --- a/src/gui/Pages/Chat/RoomPane/MemberView/MemberProfile.qml +++ b/src/gui/Pages/Chat/RoomPane/MemberView/MemberProfile.qml @@ -55,6 +55,7 @@ HListView { Layout.alignment: Qt.AlignHCenter Layout.fillWidth: true + Layout.maximumWidth: 256 * theme.uiScale Layout.preferredHeight: width Layout.topMargin: theme.spacing