I am using dearpygui for a project. However, I think the File Dialog box does not look nice. I would like to change its colour to white background. Does anyone have any idea about how. I tried the following styling but did not work:
#dpg.toggle_viewport_fullscreen()
with dpg.theme() as global_theme:
with dpg.theme_component(dpg.mvAll):
dpg.add_theme_color(dpg.mvThemeCol_WindowBg, (255, 255, 255))
dpg.add_theme_color(dpg.mvThemeCol_PopupBg, (255, 255, 255))
dpg.add_theme_color(dpg.mvThemeCol_ModalWindowDimBg, (255, 255, 255))
dpg.add_theme_color(dpg.mvThemeCol_FrameBg, (255, 255, 255))
dpg.add_theme_color(dpg.mvThemeCol_FrameBg, (255, 255, 255))
dpg.bind_theme(global_theme)
Thanks in advance
You can search in th style editor : dpg.show_style_editor() and an object dpg.mvFileDialog exists, maybe for the theme_component. Link to documentation