Hi,
Is there a way to layer the tabs on multiple layers depending on the window size?
(Have tabs continue on the next row of the window?)
Is the QT style the correct place to look for this?
http://www.coppeliarobotics.com/helpFil ... Syntax.htm
I am also very confused on how to go about doing this, or if it is even possible.
Any help would be greatly appreciated.
Custom UI Tabs layering
Re: Custom UI Tabs layering
Hi SmolElephant,
unfortunately stacked tab rows are not natively supported by Qt, so are not possible with the CustomUI plugin.
unfortunately stacked tab rows are not natively supported by Qt, so are not possible with the CustomUI plugin.
Re: Custom UI Tabs layering
If you need to manage many tabs, perhaps you can create nested <tabs> widgets by putting a <tabs> widget in each <tab> page of the top-level <tabs> widget, e.g.:
Code: Select all
ui=simUI.create([[<ui>
<tabs>
<tab title="A">
<tabs>
<tab title="A.1">
<label text="This is tab A.1" />
</tab>
<tab title="A.2">
<label text="This is tab A.2" />
</tab>
<tab title="A.3">
<label text="This is tab A.3" />
</tab>
</tabs>
</tab>
<tab title="B">
<tabs>
<tab title="B.1">
<label text="This is tab B.1" />
</tab>
<tab title="B.2">
<label text="This is tab B.2" />
</tab>
<tab title="B.3">
<label text="This is tab B.3" />
</tab>
</tabs>
</tab>
<tab title="C">
<tabs>
<tab title="C.1">
<label text="This is tab C.1" />
</tab>
<tab title="C.2">
<label text="This is tab C.2" />
</tab>
<tab title="C.3">
<label text="This is tab C.3" />
</tab>
</tabs>
</tab>
</tabs>
</ui>]])
-
- Posts: 4
- Joined: 03 Apr 2018, 02:09
Re: Custom UI Tabs layering
Thanks fferri
At least I know that it's not possible.
I might try your suggestion.
Much appreciated!
At least I know that it's not possible.
I might try your suggestion.
Much appreciated!