From 77f904fae47810d0e772ffde1296a15b1d0c2d8a Mon Sep 17 00:00:00 2001 From: apa420 <17131426+apa420@users.noreply.github.com> Date: Tue, 10 Jul 2018 18:31:34 +0200 Subject: [PATCH] Fixes the issue with making the chatterino window smaller with long usernames (#588) --- src/widgets/Window.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/widgets/Window.cpp b/src/widgets/Window.cpp index 2ba2b9a3b..ab083ace1 100644 --- a/src/widgets/Window.cpp +++ b/src/widgets/Window.cpp @@ -177,6 +177,7 @@ void Window::addCustomTitlebarButtons() getApp()->windows->showAccountSelectPopup( this->userLabel_->mapToGlobal(this->userLabel_->rect().bottomLeft())); // }); + this->userLabel_->setMinimumWidth(20 * getScale()); } void Window::addDebugStuff()