rewrote window saveing/serialization system

fixes #212
This commit is contained in:
fourtf
2018-04-06 23:31:34 +02:00
parent 2ab571fe54
commit 69d9557505
19 changed files with 291 additions and 316 deletions
+6 -1
View File
@@ -69,7 +69,12 @@ void BaseWindow::init()
layout->addLayout(buttonLayout);
// title
QLabel *title = new QLabel(" Chatterino");
// QLabel *title = new QLabel(" Chatterino");
QLabel *title = new QLabel("");
QSizePolicy policy(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred);
policy.setHorizontalStretch(1);
title->setBaseSize(0, 0);
title->setSizePolicy(policy);
buttonLayout->addWidget(title);
this->titleLabel = title;