From 406e00df43e49c42335b250d50a8287ae4f4f0ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82?= <44851575+zneix@users.noreply.github.com> Date: Wed, 21 Oct 2020 17:02:24 +0200 Subject: [PATCH] Fixed some stuff regarding usercard (#2100) - split everything into 2 separate labels, so we won't have any issues with dank dpi (like pajlada had) and no resizing to minimum size is required (which was apparently broken on Windows xd) - decided to remove line, which is rather not visible / very small and can't be seen anyway - added nice unicode characters for follow and sub label - removed unnecessary QLabel include (which I believe was also introduced by me by an accident) --- src/widgets/dialogs/UserInfoPopup.cpp | 32 ++++++++++++--------------- src/widgets/dialogs/UserInfoPopup.hpp | 3 ++- 2 files changed, 16 insertions(+), 19 deletions(-) diff --git a/src/widgets/dialogs/UserInfoPopup.cpp b/src/widgets/dialogs/UserInfoPopup.cpp index 0fa98a5fc..d9dfbebc9 100644 --- a/src/widgets/dialogs/UserInfoPopup.cpp +++ b/src/widgets/dialogs/UserInfoPopup.cpp @@ -23,7 +23,6 @@ #include #include -#include #include #include @@ -164,10 +163,8 @@ UserInfoPopup::UserInfoPopup(bool closeAutomatically) .assign(&this->ui_.followerCountLabel); vbox.emplace