in my class that inherits QMainWindow, I have a resize method that resizes the window and then makes it unresizable to user input:
this->setMaximumSize(QWIDGETSIZE_MAX, QWIDGETSIZE_MAX);
this->resize(this->width(), this->height() + newSize);
this->setFixedSize(this->size());
It works perfectly on Linux
, but on Windows
it leaves the window resizable to user input. I'm not sure how that's possible, since it's identical code and the last call IS setFixedSize
, which should disable resizing.