Allow window sizes smaller than 400x400
This commit is contained in:
parent
1df1b5037e
commit
e077bdbdd5
4 changed files with 17 additions and 12 deletions
|
|
@ -70,8 +70,8 @@ MainWindow::MainWindow(QWindow *parent)
|
|||
MainWindow::setWindowTitle(0);
|
||||
setObjectName(QStringLiteral("MainWindow"));
|
||||
setResizeMode(QQuickView::SizeRootObjectToView);
|
||||
setMinimumHeight(400);
|
||||
setMinimumWidth(400);
|
||||
setMinimumHeight(conf::window::minHeight);
|
||||
setMinimumWidth(conf::window::minWidth);
|
||||
restoreWindowSize();
|
||||
|
||||
chat_page_ = new ChatPage(userSettings_, this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue