[Solved] Position in QHBoxLayout
-
Hi,
I am adding widgets to a QHBoxLayout dynamically and I would like to sometime add a widget on the "right" (first position), sometimes on the "left" (last position).
Is there a way to do this?Thanks
-
Hi,
You can use insertWidget with 0 to insert on the left and -1 on the right
-
That's great!
Thanks