DearPyGui icon indicating copy to clipboard operation
DearPyGui copied to clipboard

set_primary_window does not fill viewport until resize on Mac OS

Open kuchi opened this issue 2 years ago • 5 comments

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

viewport_issue-2

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()

kuchi avatar Oct 26 '21 11:10 kuchi

Will address for v1.0.3!

hoffstadt avatar Oct 26 '21 19:10 hoffstadt

Seems related to this as well --> https://github.com/hoffstadt/DearPyGui/issues/1130

DataExplorerUser avatar Oct 26 '21 20:10 DataExplorerUser

Should be fixed in release tonight or tomorrow morning.

hoffstadt avatar Jan 04 '22 02:01 hoffstadt

It is not fixed yet, if it is can someone please let me know how to solve this issue.

yayege avatar May 16 '22 18:05 yayege

Will check it out.

hoffstadt avatar May 17 '22 12:05 hoffstadt

This should be fixed a while back, but this issue remained open. Closing for now. Please comment if the issue still persists.

bandit-masked avatar Jan 05 '23 22:01 bandit-masked