fixes some splits having another size than others

This commit is contained in:
fourtf 2018-04-18 19:18:14 +02:00
parent 1290d28b1a
commit c84391e276
2 changed files with 2 additions and 1 deletions

View file

@ -19,7 +19,6 @@
#include <gdiplus.h> #include <gdiplus.h>
#include <windowsx.h> #include <windowsx.h>
#pragma comment(lib, "Dwmapi.lib") #pragma comment(lib, "Dwmapi.lib")
#pragma comment(lib, "Gdi32.lib")
#include <QHBoxLayout> #include <QHBoxLayout>
#include <QVBoxLayout> #include <QVBoxLayout>

View file

@ -111,6 +111,8 @@ Split::Split(SplitContainer *parent)
}); });
this->header.updateModerationModeIcon(); this->header.updateModerationModeIcon();
this->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding);
} }
Split::~Split() Split::~Split()