When creating a new variant for a layout, all child widgets of the root will be duplicated.
Original hierarchy:
Variant hierarchy:
If the root widget does not allow for multiple children, it will spam the error log when opening the variant:
When creating a new variant for a layout, all child widgets of the root will be duplicated.
Original hierarchy: