From 8f35362387083d796ed94bd6ef3b43e94ee101cf Mon Sep 17 00:00:00 2001 From: gambas Date: Sat, 30 Nov 2019 07:02:46 +0100 Subject: [PATCH] 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. --- gb.qt4/src/CWindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gb.qt4/src/CWindow.cpp b/gb.qt4/src/CWindow.cpp index bf24c8114..17d2fb937 100644 --- a/gb.qt4/src/CWindow.cpp +++ b/gb.qt4/src/CWindow.cpp @@ -1532,6 +1532,7 @@ MyMainWindow::MyMainWindow(QWidget *parent, const char *name, bool embedded) : setObjectName(name); setFocusPolicy(Qt::NoFocus); + resize(1, 1); _activate = false; }