Fix widget size

This commit is contained in:
Simon De Backer 2020-07-25 22:00:19 +02:00
parent 49cca54adc
commit 1f78196fa6

View File

@ -80,8 +80,9 @@ ConfigDialog::ConfigDialog(QWidget *parent) : QDialog(parent) {
connect(pages_list, SIGNAL(currentRowChanged(int)),
pages_widget, SLOT(setCurrentIndex(int)));
resize(mymachineinfo->i_max_screen_width(),
mymachineinfo->i_max_screen_height());
setMaximumSize(mymachineinfo->i_max_screen_width(),
mymachineinfo->i_max_screen_height());
resize(1400,1000);
#ifdef Q_OS_MACOS
if (parent) {