Skip to content

Commit

Permalink
Activate menu in a window that already has a menu
Browse files Browse the repository at this point in the history
  • Loading branch information
Kortyburns authored and hoffstadt committed Feb 14, 2023
1 parent 0025f90 commit 038ae36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dearpygui/demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,7 @@ def _selection(sender, app_data, user_data):

with dpg.tree_node(label="Simple Layouts"):
dpg.add_text("Containers can be nested for advanced layout options")
with dpg.child_window(width=500, height=320):
with dpg.child_window(width=500, height=320, menubar=True):
with dpg.menu_bar():
dpg.add_menu(label="Menu Options")
with dpg.child_window(autosize_x=True, height=95):
Expand Down

0 comments on commit 038ae36

Please sign in to comment.