initial appbase integration

This commit is contained in:
fourtf
2018-11-21 21:37:41 +01:00
parent 9472283d76
commit cf26f10b80
26 changed files with 63 additions and 412 deletions
+3 -3
View File
@@ -50,11 +50,11 @@ Window::Window(WindowType type)
if (type == WindowType::Main)
{
this->resize(int(600 * this->getScale()), int(500 * this->getScale()));
this->resize(int(600 * this->scale()), int(500 * this->scale()));
}
else
{
this->resize(int(300 * this->getScale()), int(500 * this->getScale()));
this->resize(int(300 * this->scale()), int(500 * this->scale()));
}
}
@@ -192,7 +192,7 @@ void Window::addCustomTitlebarButtons()
getApp()->windows->showAccountSelectPopup(this->userLabel_->mapToGlobal(
this->userLabel_->rect().bottomLeft()));
});
this->userLabel_->setMinimumWidth(20 * getScale());
this->userLabel_->setMinimumWidth(20 * scale());
}
void Window::addDebugStuff()