Dear Experts,
I am using this code to add a menu bar to my VRED plugins:
class nVIZergoUi(nVIZergoUi_form, nVIZergoUi_base):
def __init__(self, parent=None):
super(nVIZergoUi, self).__init__(parent)
parent.layout().addWidget(self)
self.parent = parent
self.setupUi(self)
menuBar = QtWidgets.QMenuBar()
parent.layout().addWidget(menuBar)
Up to VRED 2023, this nicely adds a menu bar to the top of the plugin window. Now, with VRED 2024, the menu bar is added to the bottom of the plugin window.
Why? And how to get it back to the top?
Thank you!
Ingolf