From 64e05e4726a9b5a08fe429de98c35b525212f4c6 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 20 Mar 2018 12:56:26 +0100 Subject: [PATCH] Put found zones list into a subchild. --- server/TracyView.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index eebe8c9f..ba69de45 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -3213,6 +3213,7 @@ void View::DrawFindZone() } m_findZone.processed = processed; + ImGui::BeginChild( "##zonesScroll", ImVec2( ImGui::GetWindowContentRegionWidth(), std::max( 200.f, ImGui::GetContentRegionAvail().y ) ) ); int idx = 0; for( auto& v : m_findZone.threads ) { @@ -3281,6 +3282,7 @@ void View::DrawFindZone() ImGui::TreePop(); } } + ImGui::EndChild(); } #endif