From 762b3a810a26b40fda8e319d4bd307d651b80b57 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Wed, 26 Oct 2022 19:40:30 +0200 Subject: Smaller font for symbol image name. --- server/TracySourceView.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/TracySourceView.cpp b/server/TracySourceView.cpp index 35ffc1ba..9aa33a4f 100644 --- a/server/TracySourceView.cpp +++ b/server/TracySourceView.cpp @@ -1175,10 +1175,11 @@ void SourceView::RenderSymbolView( Worker& worker, View& view ) } } ImGui::SameLine(); + ImGui::PopFont(); + ImGui::AlignTextToFramePadding(); TextDisabledUnformatted( worker.GetString( sym->imageName ) ); ImGui::SameLine(); ImGui::TextDisabled( "0x%" PRIx64, m_baseAddr ); - ImGui::PopFont(); if( ImGui::IsKeyDown( ImGuiKey_Z ) ) m_childCalls = !m_childCalls; if( ImGui::IsKeyDown( ImGuiKey_X ) ) m_propagateInlines = !m_propagateInlines; -- cgit v1.2.3