Vladimir Ein

Results 304 comments of Vladimir Ein

Sooo... I think I've found the cause. The explanation will be highly technical though. When a new widget is being added in DPG, first of all DPG creates a C++...

So if we fix that issue with exception handling in C++, the 2nd click on "Add buttons" will fail immediately, without adding anything to the window.

For future reference... `common_constructor()` gets called to create the widget object. If `tag` is specified in the DPG call, it gets parsed into the `alias` variable, and `AddAlias()` gets called...

@marcost83 is right: enabled_state should be False. This makes `theme_component(dpg.mvInputFloat)` work as expected; however, `theme_component(dpg.mvAll)` doesn't work: ```py import dearpygui.dearpygui as dpg dpg.create_context() dpg.create_viewport(width=600, height=600) dpg.setup_dearpygui() with dpg.theme() as global_theme:...

Another issue is that disabled components do not get grayed out by default. ImGui uses `TextDisabled` color for that, but DPG seems to have a different approach with `Text` and...

A workaround for now would be to add something like this to your global theme: ```py # In 'for', list all the types you need for comp_type in (dpg.mvMenuItem, dpg.mvButton,...

I've done a bit of research on how themes are implemented, and here's what I've got. There are several distinct issues with the themes: - On the global theme (the...

@asluborski do you need more help? Has your problem been solved? If so, would you please close this ticket?

For future reference: This happens because the tooltip calls `ImGui::IsItemHovered()` to detect whether its parent is hovered. Since the tooltip is rendered right after its parent, it works fine on...

Well, the fix with weak_ptr would be trivial, but it's quite a lot to test. Might break in some scenarios, e.g. within tables. And it would need another build of...