Why?
setGeometry: Unable to set geometry 22x22+320+145 on QWidgetWindow/\'WidgetClassWindow\'. Resulting geometry: 116x22+320+145 (frame: 8, 30, 8, 8, custo
Try to use: ajustSize()
Looks To be the problem: Why am I getting QWindowsWindow::setGeometry: Unable to set geometry warning with Qt 5.12.0
A possible solution: Qt Unable to set geometry