This thing seems really basic to me, though I could not find any information on how to implement it.
I have some sort of QGridLayout
that contains equally-sized widgets. I would like to update its row/column count based on the layout size.
For instance, on a relatively wide screen, it would look like this:
But if the screen is not wide enough to fit all the items it would grow vertically like this: