if(type==2)ImGui::SetNextWindowSizeConstraints(ImVec2(-1,0),ImVec2(-1,FLT_MAX));// Resize vertical + lock current width
if(type==3)ImGui::SetNextWindowSizeConstraints(ImVec2(0,-1),ImVec2(FLT_MAX,-1));// Resize horizontal + lock current height
if(type==4)ImGui::SetNextWindowSizeConstraints(ImVec2(400,-1),ImVec2(500,-1));// Width Between and 400 and 500
if(type==5)ImGui::SetNextWindowSizeConstraints(ImVec2(-1,500),ImVec2(-1,FLT_MAX));// Height at least 400
if(type==5)ImGui::SetNextWindowSizeConstraints(ImVec2(-1,400),ImVec2(-1,FLT_MAX));// Height at least 400
if(type==6)ImGui::SetNextWindowSizeConstraints(ImVec2(0,0),ImVec2(FLT_MAX,FLT_MAX),CustomConstraints::AspectRatio,(void*)&aspect_ratio);// Aspect ratio