From 0e6ba238008ad0efea8875a49db3f61915f08d8f Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 28 Sep 2024 02:27:45 +0200 Subject: [PATCH] Fix columns size in source view files list. --- profiler/src/profiler/TracySourceView.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/profiler/src/profiler/TracySourceView.cpp b/profiler/src/profiler/TracySourceView.cpp index 9acaf153..cebe9c3e 100644 --- a/profiler/src/profiler/TracySourceView.cpp +++ b/profiler/src/profiler/TracySourceView.cpp @@ -1990,10 +1990,8 @@ void SourceView::RenderSymbolSourceView( const AddrStatData& as, Worker& worker, if( !widthSet ) { widthSet = true; - const auto w = ImGui::GetWindowWidth(); const auto c0 = ImGui::CalcTextSize( "12345678901234567890" ).x; ImGui::SetColumnWidth( 0, c0 ); - ImGui::SetColumnWidth( 1, w - c0 ); } } for( auto& v : fileCountsVec )