DearPyGui
DearPyGui copied to clipboard
set_primary_window does not fill viewport until resize on Mac OS
Version of Dear PyGui
Version: 1.0.2 Operating System: macOS 10.15.7
My Issue/Question
Calling set_primary_window
does not fill the viewport until you manually resize the viewport.
Screenshots/Video
Standalone, minimal, complete and verifiable example
import dearpygui.dearpygui as dpg
dpg.create_context()
with dpg.window(label="Tutorial") as main_window:
dpg.add_text(default_value="Text")
dpg.create_viewport(title='Custom Title', width=1500, height=1200)
dpg.setup_dearpygui()
dpg.set_primary_window(main_window, True) # Should fill viewport but does not on macOS
dpg.show_viewport()
dpg.start_dearpygui()
dpg.destroy_context()
Will address for v1.0.3!
Seems related to this as well --> https://github.com/hoffstadt/DearPyGui/issues/1130
Should be fixed in release tonight or tomorrow morning.
It is not fixed yet, if it is can someone please let me know how to solve this issue.
Will check it out.
This should be fixed a while back, but this issue remained open. Closing for now. Please comment if the issue still persists.