Add (invisible) resize handle to frameless usercards and reply threads (#4795)

* feat: add resize handle to usercards&reply threads

* Add changelog entry

---------

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
nerix
2023-09-17 13:27:20 +02:00
committed by GitHub
parent f13a3b9685
commit dc62e8248b
6 changed files with 59 additions and 4 deletions
+16
View File
@@ -0,0 +1,16 @@
#include "widgets/helper/InvisibleSizeGrip.hpp"
namespace chatterino {
InvisibleSizeGrip::InvisibleSizeGrip(QWidget *parent)
: QSizeGrip(parent)
{
// required on Windows to prevent this from being ignored when dragging
this->setMouseTracking(true);
}
void InvisibleSizeGrip::paintEvent(QPaintEvent *event)
{
}
} // namespace chatterino