Hi,
i want to lay here down a video capture about the behaviour Natron 2.5.0 has.
My question: how come when i add the tab to the pane2 both tabs are shifted downwards? why is it not kept at the top of the pane?
I need to use the useUserParametersGUI set to False because i am embedding a PySide1 widgets and iam not making use of ParamsDataHolder.
Thanks in advance,
Best,
JC
Hi, i just fixed the issue (or found out the solution)
it is just as easy as realizing that a PyPanel is just a QWidget, hence, it has a setLayout() method to hang in the QT objects.
Dont use the addWidget() alone (which does work when useUserParametersGUI is set to True).
To Sum Up:
(1) useUserParametersGUI = True → use addWidget()
(2) useUserParametersGUI = False → use setLayout() to the pypanel
Everything should work as expected.
Best,
JC
1 Like