DearPyGui
DearPyGui copied to clipboard
Window menu_bar no longer showing after update to 1.7.0
The with dgp.menu_bar(): is no longer showing a menubar since upgrading to version 1.7.0, downgrading to 1.6.2 the menu bar shows as expected.
The issue can be reproduced also using the basic example from the DearPyGui docs, no menu bar is show with this code when using dearpygui version 1.7.0
import dearpygui.dearpygui as dpg
dpg.create_context()
with dpg.window(label="Main"):
with dpg.menu_bar():
with dpg.menu(label="Themes"):
dpg.add_menu_item(label="Dark")
dpg.add_menu_item(label="Light")
dpg.add_menu_item(label="Classic")
with dpg.menu(label="Other Themes"):
dpg.add_menu_item(label="Purple")
dpg.add_menu_item(label="Gold")
dpg.add_menu_item(label="Red")
with dpg.menu(label="Tools"):
dpg.add_menu_item(label="Show Logger")
dpg.add_menu_item(label="Show About")
with dpg.menu(label="Oddities"):
dpg.add_button(label="A Button")
dpg.add_simple_plot(label="Menu plot", default_value=(0.3, 0.9, 2.5, 8.9), height=80)
dpg.create_viewport(title='Custom Title', width=800, height=600)
dpg.setup_dearpygui()
dpg.show_viewport()
dpg.start_dearpygui()
dpg.destroy_context()
Having same issue 😃.
Fixed in 1.7.1 releasing in a few hours.