Sometimes you want to structure user interfaces by grouping widgets. Currently when adding two containers A and B to a Napari dock (a parent container), the widgets in the nested containers are displayed in a continuous flow and the grouping is not recognizable by users.
A possibility is to set a label for A and B and enable label display on the parent container. However, as with normal widgets, Container labels are displayed on the left, squeezing the container content to the right. In this example, Segmentation is a container with vertical layout for which I would like to have the container's label displayed above its content and the container separated by a border from other widgets. Shape is also a container (horizontal layout), as an example that the current behavior can also be desirable to keep.
It would be nice to have something like QGroupBox which could either be its own magicgui widget or an option for Container.
Sometimes you want to structure user interfaces by grouping widgets. Currently when adding two containers A and B to a Napari dock (a parent container), the widgets in the nested containers are displayed in a continuous flow and the grouping is not recognizable by users.
A possibility is to set a label for A and B and enable label display on the parent container. However, as with normal widgets, Container labels are displayed on the left, squeezing the container content to the right. In this example, Segmentation is a container with vertical layout for which I would like to have the container's label displayed above its content and the container separated by a border from other widgets. Shape is also a container (horizontal layout), as an example that the current behavior can also be desirable to keep.
It would be nice to have something like QGroupBox which could either be its own magicgui widget or an option for Container.