qgridlayout
How to remove the distance between blocks in QGridLayout when Fixed / maximum size of widgets?
If you try to limit the size of the widget, then only the horizontal space disappears when spacing=0, is it possible to remov ... dgets.QVBoxLayout(widget)
mainbox.addLayout(gridbox)
self.setCentralWidget(widget)
self.setMinimumSize(500, 500)