From ff8a85ea2da25ebf99b6107b7bdec5f4c5808e7c Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Mon, 26 Sep 2022 01:15:37 +0200 Subject: [PATCH] Use small font for debug data in about window. --- profiler/src/main.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/profiler/src/main.cpp b/profiler/src/main.cpp index 9762bca0..1f93e3b6 100644 --- a/profiler/src/main.cpp +++ b/profiler/src/main.cpp @@ -392,9 +392,17 @@ static void DrawContents() tracy::TextDisabledUnformatted( "" ); tracy::TextDisabledUnformatted( "Additional authors listed in AUTHORS file and in git history." ); ImGui::Separator(); + ImGui::PushFont( s_smallFont ); tracy::TextFocused( "Protocol version", tracy::RealToString( tracy::ProtocolVersion ) ); + ImGui::SameLine(); + ImGui::SeparatorEx( ImGuiSeparatorFlags_Vertical ); + ImGui::SameLine(); tracy::TextFocused( "Broadcast version", tracy::RealToString( tracy::BroadcastVersion ) ); + ImGui::SameLine(); + ImGui::SeparatorEx( ImGuiSeparatorFlags_Vertical ); + ImGui::SameLine(); tracy::TextFocused( "Build date", __DATE__ ", " __TIME__ ); + ImGui::PopFont(); ImGui::EndPopup(); } ImGui::Spacing();