Community
VRED Forum
Welcome to Autodesk’s VRED Forums. Share your knowledge, ask questions, and explore popular VRED topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

VRED 2024 Plugin Menu Bar

0 REPLIES 0
Reply
Message 1 of 1
ir
Advocate
145 Views, 0 Replies

VRED 2024 Plugin Menu Bar

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

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report