Gridlayout resize automatically
Solved
General and Desktop
-
Hi all,
This maybe a quick question, I created a widget with designer, that widget has a gridlayout which can accept 4 widgets (2x2 matrix). The widgets are inserted dynamically, at the beginning is only 1 then 2,3 and the last is 4. When all of them are in the girdlayout matrix, their size are ok, but when there is only one it looks big.
Is there a way to:- Keep their size the same all the time in the gridlayout.
- when the first is added, I would to be displayed it a the center of the gridlayout.
Thanks