From c84391e27695295869b3ee6aa53678337b241217 Mon Sep 17 00:00:00 2001 From: fourtf Date: Wed, 18 Apr 2018 19:18:14 +0200 Subject: [PATCH] fixes some splits having another size than others --- src/widgets/basewindow.cpp | 1 - src/widgets/split.cpp | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/widgets/basewindow.cpp b/src/widgets/basewindow.cpp index 635ad107f..73213f89a 100644 --- a/src/widgets/basewindow.cpp +++ b/src/widgets/basewindow.cpp @@ -19,7 +19,6 @@ #include #include #pragma comment(lib, "Dwmapi.lib") -#pragma comment(lib, "Gdi32.lib") #include #include diff --git a/src/widgets/split.cpp b/src/widgets/split.cpp index db443fa6c..96b1061a4 100644 --- a/src/widgets/split.cpp +++ b/src/widgets/split.cpp @@ -111,6 +111,8 @@ Split::Split(SplitContainer *parent) }); this->header.updateModerationModeIcon(); + + this->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding); } Split::~Split()