From c6ad1c49698585cf8350e7c17a21e3394a1bb44e Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Mon, 15 Aug 2022 23:01:40 +0200 Subject: [PATCH] Print file name in source view with big font. --- server/TracySourceView.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/server/TracySourceView.cpp b/server/TracySourceView.cpp index 0176fffe..6805ad01 100644 --- a/server/TracySourceView.cpp +++ b/server/TracySourceView.cpp @@ -1010,7 +1010,12 @@ void SourceView::Render( Worker& worker, View& view ) if( m_symAddr == 0 ) { - if( m_source.filename() ) TextFocused( ICON_FA_FILE " File:", m_source.filename() ); + if( m_source.filename() ) + { + ImGui::PushFont( m_bigFont ); + TextFocused( ICON_FA_FILE " File:", m_source.filename() ); + ImGui::PopFont(); + } if( m_source.is_cached() ) { TextColoredUnformatted( ImVec4( 0.4f, 0.8f, 0.4f, 1.f ), ICON_FA_DATABASE );