Replies: 1 comment 1 reply
-
I used color picker but max i can do is this: def set_global_theme():
with dpg.theme() as global_theme:
with dpg.theme_component(dpg.mvAll):
dpg.add_theme_style(dpg.mvStyleVar_WindowRounding, 3)
dpg.add_theme_style(dpg.mvStyleVar_FrameRounding, 3)
dpg.add_theme_style(dpg.mvStyleVar_GrabRounding, 3)
dpg.add_theme_style(dpg.mvStyleVar_TabRounding, 3)
dpg.add_theme_style(dpg.mvStyleVar_ChildRounding, 3)
dpg.add_theme_style(dpg.mvStyleVar_PopupRounding, 3)
dpg.add_theme_style(dpg.mvStyleVar_ScrollbarRounding, 3)
dpg.add_theme_style(dpg.mvStyleVar_FramePadding, 6, 6)
dpg.add_theme_color(dpg.mvThemeCol_TabActive, (51, 105, 173))
dpg.add_theme_color(dpg.mvThemeCol_Tab, (43, 80, 131))
dpg.add_theme_color(dpg.mvThemeCol_WindowBg, (21, 22, 23))
dpg.add_theme_color(dpg.mvThemeCol_FrameBg, (32, 50, 77))
dpg.add_theme_color(dpg.mvThemeCol_Button, (39, 73, 114))
dpg.bind_theme(global_theme) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Where can I found this example windows source codes?
Beta Was this translation helpful? Give feedback.
All reactions