微调app初始化窗口大小
This commit is contained in:
parent
68a947ca67
commit
75405896bc
|
@ -131,7 +131,7 @@ MainWindow::MainWindow(const QString& appLang, QWidget *parent)
|
|||
|
||||
QDesktopWidget *desktopWidget = QApplication::desktop();
|
||||
QRect screenRect = desktopWidget->screenGeometry(this);
|
||||
if(screenRect.width() > 950 && screenRect.height() > 720)
|
||||
if(screenRect.width() > 1200 && screenRect.height() > 900)
|
||||
{
|
||||
resize(950, 720);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue