How to move widgwts to next row in a layout PyQt5

27 Views Asked by At

I want to move widgets to next row according to resizing space.Suppose there is 5 label in a row ,but when i resize and there is insufficient size for them some of them will move to next row.

But I don't know how to achieve that using any Qlayout.

Before

enter image description here

After

enter image description here

I have done this manually but I want they should be automatically moved to next row accordingly while resizing if there is insufficient size for a element.

0

There are 0 best solutions below