yes, this works, but I find this is some kind of manually. I would find it better if the layout is automatically resized to the size of the smaller widget.
e.g. when I inser directly a QComboBox, then the layout for the box is only as big as the box.
Bookmarks