You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Unable to find a reference on how to read a value from the current default/system theme. For example, I want to read the value of mvStyleVar_FramePadding
Describe the solution you'd like
If there's a method already in place, an example of how to do it.
If not, using get_item_theme(0) could return the current default/system theme dictionary from where to extract the value
Describe alternatives you've considered
None
Additional context
None
The text was updated successfully, but these errors were encountered:
I ran into this problem today! For my problem, I just wanted to know what the default background color was, so calling dpg.show_style_editor() was enough. I'm not sure what you would do if you wanted to read it dynamically.
@KyleTheScientist thx! I did the same, but it's not ideal... If the system is using a theme, doesn't it make sense that you can access the values directly with code?
Is your feature request related to a problem? Please describe.
Unable to find a reference on how to read a value from the current default/system theme. For example, I want to read the value of
mvStyleVar_FramePadding
Describe the solution you'd like
If there's a method already in place, an example of how to do it.
If not, using
get_item_theme(0)
could return the current default/system theme dictionary from where to extract the valueDescribe alternatives you've considered
None
Additional context
None
The text was updated successfully, but these errors were encountered: