diff options
author | Bartosz Taudul <wolf@nereid.pl> | 2022-08-04 23:32:35 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf@nereid.pl> | 2022-08-04 23:32:35 +0300 |
commit | 4607dca13b306eb72662d8356ae7ae80b47b30c2 (patch) | |
tree | a7a7cd916a59f684d1260c17a7efb74ae7497b36 /server/TracyView_Options.cpp | |
parent | 225d6c1edec0bf615d1c141e9c0bed0db3712b97 (diff) |
Smaller frame bar color thresholds legend.
Diffstat (limited to 'server/TracyView_Options.cpp')
-rw-r--r-- | server/TracyView_Options.cpp | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/server/TracyView_Options.cpp b/server/TracyView_Options.cpp index a2c8f6d8..34159e23 100644 --- a/server/TracyView_Options.cpp +++ b/server/TracyView_Options.cpp @@ -34,19 +34,21 @@ void View::DrawOptions() ImGui::SameLine(); TextDisabledUnformatted( TimeToString( 1000*1000*1000 / tmp ) ); ImGui::PopStyleVar(); + ImGui::PushFont( m_smallFont ); SmallColorBox( 0xFF2222DD ); - ImGui::SameLine(); - ImGui::Text( "< %i <", tmp / 2 ); - ImGui::SameLine(); + ImGui::SameLine( 0, 0 ); + ImGui::Text( " < %i < ", tmp / 2 ); + ImGui::SameLine( 0, 0 ); SmallColorBox( 0xFF22DDDD ); - ImGui::SameLine(); - ImGui::Text( "< %i <", tmp ); - ImGui::SameLine(); + ImGui::SameLine( 0, 0 ); + ImGui::Text( " < %i < ", tmp ); + ImGui::SameLine( 0, 0 ); SmallColorBox( 0xFF22DD22 ); - ImGui::SameLine(); - ImGui::Text( "< %i <", tmp * 2 ); - ImGui::SameLine(); + ImGui::SameLine( 0, 0 ); + ImGui::Text( " < %i < ", tmp * 2 ); + ImGui::SameLine( 0, 0 ); SmallColorBox( 0xFFDD9900 ); + ImGui::PopFont(); ImGui::Unindent(); if( m_worker.HasContextSwitches() ) { |