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
When ti.init(...) is called (with no window setup), it unexpectedly changes appearance of a GUI program on a 4K screen, making everything smaller (no HiDPI scaling?).
Edit: the issue happens only on Windows. On Linux (Mint), DearPyGUI seems to ignore HiDPI scaling, so the effect of ti.init(...) is not visible.
Correct appearance, without calling ti.init(...)
Wrong appearance, after calling ti.init(...)
importdearpygui.dearpyguiasdpgimporttaichiasti# If uncommented, this line makes DearPyGUI smaller (no HiDPI scaling (?))# ti.init(arch=ti.vulkan)dpg.create_context()
dpg.create_viewport(title='Custom Title', width=400, height=300)
withdpg.window(label="Example Window"):
dpg.add_text("Hello, world")
dpg.setup_dearpygui()
dpg.show_viewport()
dpg.start_dearpygui()
dpg.destroy_context()
Motivation
Since taichi's GUI does not satisfy my needs (no advanced widgets, such as charts), I attempted to use an external GUI (AFAIK most starred pythong GUI framework), however found it difficult to integrate them in a single app.
The text was updated successfully, but these errors were encountered:
Thank you for developing great software 🙇
When
ti.init(...)
is called (with no window setup), it unexpectedly changes appearance of a GUI program on a 4K screen, making everything smaller (no HiDPI scaling?).Edit: the issue happens only on Windows. On Linux (Mint), DearPyGUI seems to ignore HiDPI scaling, so the effect of
ti.init(...)
is not visible.Correct appearance, without calling
ti.init(...)
Wrong appearance, after calling
ti.init(...)
Motivation
Since taichi's GUI does not satisfy my needs (no advanced widgets, such as charts), I attempted to use an external GUI (AFAIK most starred pythong GUI framework), however found it difficult to integrate them in a single app.
The text was updated successfully, but these errors were encountered: