Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Theme Internal Tools such as File Diaog #1713

Closed
cloudsftp opened this issue Apr 21, 2022 · 0 comments
Closed

Theme Internal Tools such as File Diaog #1713

cloudsftp opened this issue Apr 21, 2022 · 0 comments
Labels
state: ready Fixed/Added and will be present in an upcoming release

Comments

@cloudsftp
Copy link

It seems like it is impossible to theme any internal tools. I stumbled upon htis when I tried theming a file dialog.

import dearpygui.dearpygui as dpg
import dearpygui_ext.themes as dpg_ext
        
def main():
    dpg.create_context()

    dpg.bind_theme(dpg_ext.create_theme_imgui_light())

    dpg.create_viewport()
    dpg.setup_dearpygui()


    with dpg.window():
        dpg.add_text('This works')

    dpg.add_file_dialog() # this doesn't
    
    dpg.show_viewport()

    while dpg.is_dearpygui_running():
        dpg.render_dearpygui_frame()
    
    dpg.destroy_context()

if __name__ == "__main__":
    main()

The window is in light theme but the file dialog is still in the standard theme.

I reached out for help on the discord server and a friendly moderator told me it is not possible and I should create a feature request.

@cloudsftp cloudsftp added the state: pending not addressed yet label Apr 21, 2022
@hoffstadt hoffstadt added state: ready Fixed/Added and will be present in an upcoming release and removed state: pending not addressed yet labels Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state: ready Fixed/Added and will be present in an upcoming release
Projects
None yet
Development

No branches or pull requests

2 participants