diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 4c6b42ce..ed40938f 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -4007,11 +4007,17 @@ void View::DrawContextSwitches( const ContextSwitch* ctx, const VectorReason() ) ); ImGui::SameLine(); + ImGui::PushFont( m_smallFont ); + ImGui::AlignTextToFramePadding(); TextDisabledUnformatted( DecodeContextSwitchReason( pit->Reason() ) ); + ImGui::PopFont(); } TextFocused( "Wait state:", DecodeContextSwitchStateCode( pit->State() ) ); ImGui::SameLine(); + ImGui::PushFont( m_smallFont ); + ImGui::AlignTextToFramePadding(); TextDisabledUnformatted( DecodeContextSwitchState( pit->State() ) ); + ImGui::PopFont(); } tooltip = true;