reordered resize call
This commit is contained in:
@@ -26,18 +26,15 @@ SettingsDialog::SettingsDialog()
|
|||||||
: BaseWindow(BaseWindow::DisableCustomScaling)
|
: BaseWindow(BaseWindow::DisableCustomScaling)
|
||||||
{
|
{
|
||||||
this->setWindowTitle("Chatterino Settings");
|
this->setWindowTitle("Chatterino Settings");
|
||||||
|
this->resize(815, 600);
|
||||||
this->themeChangedEvent();
|
this->themeChangedEvent();
|
||||||
this->scaleChangedEvent(this->scale());
|
this->scaleChangedEvent(this->scale());
|
||||||
|
|
||||||
this->initUi();
|
this->initUi();
|
||||||
this->addTabs();
|
this->addTabs();
|
||||||
|
|
||||||
this->overrideBackgroundColor_ = QColor("#111111");
|
this->overrideBackgroundColor_ = QColor("#111111");
|
||||||
this->scaleChangedEvent(
|
this->scaleChangedEvent(
|
||||||
this->scale()); // execute twice to fix performance + width of item
|
this->scale()); // execute twice to fix performance + width of item
|
||||||
|
|
||||||
this->resize(815, 600);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void SettingsDialog::initUi()
|
void SettingsDialog::initUi()
|
||||||
|
|||||||
Reference in New Issue
Block a user