frontends (XMLUI): TabsContainer can now be the main container (Primitivus keep the old behaviour and always use VerticalContainer as main container)
This commit is contained in:
parent
c2a1ba3793
commit
24c4cc0487
1 changed files with 17 additions and 1 deletions
|
|
@ -439,7 +439,7 @@ class XMLUIPanel(XMLUIBase):
|
|||
|
||||
if node.nodeName == "container":
|
||||
type_ = node.getAttribute("type")
|
||||
if _xmlui_parent is self and type_ != "vertical":
|
||||
if _xmlui_parent is self and type_ not in ("vertical", "tabs"):
|
||||
# main container is not a VerticalContainer and we want one,
|
||||
# so we create one to wrap it
|
||||
_xmlui_parent = self.widget_factory.createVerticalContainer(self)
|
||||
|
|
|
|||
Loading…
Reference in a new issue