summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui/editNetwork.cpp1
-rw-r--r--ui/queryTool.cpp1
2 files changed, 2 insertions, 0 deletions
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]<typename Impl>(const char * name) {
diff --git a/ui/queryTool.cpp b/ui/queryTool.cpp
index 2267253..549bd9e 100644
--- a/ui/queryTool.cpp
+++ b/ui/queryTool.cpp
@@ -35,6 +35,7 @@ QueryTool::click(const SDL_MouseButtonEvent & event, const Ray<GlobalPosition3D>
void
QueryTool::render(bool & open)
{
+ ImGui::SetNextWindowSize({-1, -1});
ImGui::Begin("Query Tool", &open);
ImGui::TextUnformatted(clicked.c_str());
ImGui::End();