From 6659e9967a2ae5fac9b72a7661d05b286cace7ea Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Mon, 15 Aug 2022 23:04:40 +0200 Subject: [PATCH] Fix alignment of inline function warning triangle. --- server/TracySourceView.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/server/TracySourceView.cpp b/server/TracySourceView.cpp index 6805ad01..35cc95ff 100644 --- a/server/TracySourceView.cpp +++ b/server/TracySourceView.cpp @@ -1154,6 +1154,7 @@ void SourceView::RenderSymbolView( Worker& worker, View& view ) if( m_calcInlineStats ) { ImGui::SameLine(); + ImGui::AlignTextToFramePadding(); TextColoredUnformatted( ImVec4( 1.f, 1.f, 0.2f, 1.f ), ICON_FA_EXCLAMATION_TRIANGLE ); TooltipIfHovered( "Context is limited to an inline function" ); }