From 0f183e620fbe3e94af6c29c399b61d99809af01c Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 29 Mar 2025 12:46:54 +0000 Subject: Auto resize windows to content --- ui/editNetwork.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'ui/editNetwork.cpp') diff --git a/ui/editNetwork.cpp b/ui/editNetwork.cpp index a9b041c..c900191 100644 --- a/ui/editNetwork.cpp +++ b/ui/editNetwork.cpp @@ -67,6 +67,7 @@ EditNetwork::Builder::setHeightsFor(Network * network, const Link::CCollection & void EditNetwork::render(bool & open) { + ImGui::SetNextWindowSize({-1, -1}); ImGui::Begin("Edit Network", &open); auto builderChoice = [this](const char * name) { -- cgit v1.2.3