[SOLVED] How to align buttons in a layout like grid without using specific locations
Is there a way to set buttons on to the layout depending on the parent widget size.
say, I have 10 buttons and parent widget can accommodate only 5 in one row, the rest buttons should appear in next row.
Even if I use grid layout without specifying locations it will be in a single row...
Perhaps this example will help you "Flow Layout Example...":http://qt-project.org/doc/qt-5/qtwidgets-layouts-flowlayout-example.html
thanks.. seems promising, ill try this out..