You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In particular python complains because the base class init expects a self (hidden first param). So I wrapped it in an init() method and it works, except:
Hi,
in QPanda3D, we use QWidgets (QPanda3DWorld). In this case, as any Qt widget, you depend on the layout in which the widget is placed. Refer to setSizePolicy and setFixedWidth and setFixedHeight methods to learn how to force a fixed widget size.
QPanda3D is a wrapper that links Panda3d to the Qt world.
In particular python complains because the base class init expects a self (hidden first param). So I wrapped it in an init() method and it works, except:
adding:
Panda3DWorld.init(self, width=1024, height=768)
The preffered width / height has no effect.
The text was updated successfully, but these errors were encountered: