Window: set the window size at creation to 1x1, so that there is no default size.

[GB.QT4]
* BUG: Window: set the window size at creation to 1x1, so that there is no default size.

[GB.QT5]
* BUG: Window: set the window size at creation to 1x1, so that there is no default size.
This commit is contained in:
gambas 2019-11-30 07:02:46 +01:00
parent b092a95132
commit 8f35362387

View file

@ -1532,6 +1532,7 @@ MyMainWindow::MyMainWindow(QWidget *parent, const char *name, bool embedded) :
setObjectName(name);
setFocusPolicy(Qt::NoFocus);
resize(1, 1);
_activate = false;
}