diff --git a/profiler/src/profiler/TracyView_Messages.cpp b/profiler/src/profiler/TracyView_Messages.cpp index c3c2e0a0..ea78b728 100644 --- a/profiler/src/profiler/TracyView_Messages.cpp +++ b/profiler/src/profiler/TracyView_Messages.cpp @@ -17,7 +17,12 @@ void View::DrawMessages() if( msgs.empty() ) { - ImGui::TextUnformatted( "No messages were collected." ); + const auto ty = ImGui::GetTextLineHeight(); + ImGui::PushFont( m_bigFont ); + ImGui::Dummy( ImVec2( 0, ( ImGui::GetContentRegionAvail().y - ImGui::GetTextLineHeight() * 2 ) * 0.5f ) ); + TextCentered( ICON_FA_FISH_FINS ); + TextCentered( "No messages were collected" ); + ImGui::PopFont(); ImGui::End(); return; }