From c4b472b6e0ba18559f33c1d15893598007cf8b32 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Thu, 25 Jul 2019 20:34:35 +0200 Subject: [PATCH] Ditto for call stack window. --- server/TracyView.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 644b9215..7862ee54 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -8056,7 +8056,7 @@ void View::DrawCallstackWindow() { bool show = true; ImGui::SetNextWindowSize( ImVec2( 1200, 500 ), ImGuiCond_FirstUseEver ); - ImGui::Begin( "Call stack", &show ); + ImGui::Begin( "Call stack", &show, ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoScrollWithMouse ); #ifdef TRACY_EXTENDED_FONT ImGui::Checkbox( ICON_FA_AT " Show frame addresses", &m_showCallstackFrameAddress ); @@ -8066,6 +8066,8 @@ void View::DrawCallstackWindow() auto& cs = m_worker.GetCallstack( m_callstackInfoWindow ); + ImGui::Separator(); + ImGui::BeginChild( "##callstack" ); const auto w = ImGui::GetWindowWidth(); static bool widthSet = false; ImGui::Columns( 3 ); @@ -8213,6 +8215,7 @@ void View::DrawCallstackWindow() } ImGui::EndColumns(); + ImGui::EndChild(); ImGui::End(); if( !show )