DearPyGui
DearPyGui copied to clipboard
dpg. window Adaptive height width
Is your feature request related to a problem? Please describe. 1. dpg. window height Can I adapt height
How to get the screen height and width 14001050 15601440 3840*2460
How to achieve dpg. window Adaptive height width
Additional context
import dearpygui.dearpygui as dpg
dpg.create_context()
with dpg.window(label="Example Window",height= ):
dpg.add_text("Hello, world")
dpg.add_button(label="Save")
dpg.add_input_text(label="string", default_value="Quick brown fox")
dpg.add_slider_float(label="float", default_value=0.273, max_value=1)
dpg.create_viewport(title='Custom Title', width=600, height=800)
dpg.setup_dearpygui()
dpg.show_viewport()
dpg.start_dearpygui()
dpg.destroy_context()

