On Sat, Dec 22, 2018, 1:37 PM kiteh <[email protected]> wrote: > Hi Justin, > > Just tried it, in which the first item that was populated is behind the > 'add' button. > Which is why I am adding in a hboxlayout... in hope that the tabs will > appear right by the `add` button >
You can't really cleanly change the way the QTabBar does its own layout. And adding another layout to it won't fix it. I recommend then creating a subclass of QWidget as your main tab widget, then add an QHBoxLayout and then put a button and a QTabBar into that. Compose your custom widget with child widgets. > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/f3f134a2-d195-4016-bb5c-50b1ce6aa941%40googlegroups.com > <https://groups.google.com/d/msgid/python_inside_maya/f3f134a2-d195-4016-bb5c-50b1ce6aa941%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA0_ZdDiw1%3DRq%3DDe1Wgoe40ZbpWTFEO6acuXLNbona-v7g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
