Unsolved How to get this layout?
-
I want to make a NxN grid of widgets like this, i tried using QListWidget but i cant seem to get it working right especially regarding the sizes of each picture. So i was wondering if there is an easier way to do this
-
Hi and welcome to devnet,
You can put these two widgets together in a QVBoxLayout and then put that new widget in a QGridLayout
-
@sgaist but i need to have a variable size of them, sometimes 10 widgets like this sometimes 30(with scrolling)
-
You can put the "container" widget in a QScrollArea.