mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
Fix columns size in source view files list.
This commit is contained in:
parent
429de331d6
commit
0e6ba23800
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user