From d571f2bd590fc43f4fea3eeb615f0c1e42cf27bf Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 16 Jun 2026 19:17:18 +0200 Subject: [PATCH] Fix integer trace parameter input field size. --- profiler/src/profiler/TracyView_ConnectionState.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/profiler/src/profiler/TracyView_ConnectionState.cpp b/profiler/src/profiler/TracyView_ConnectionState.cpp index 1f69ae70..fb7925b3 100644 --- a/profiler/src/profiler/TracyView_ConnectionState.cpp +++ b/profiler/src/profiler/TracyView_ConnectionState.cpp @@ -214,6 +214,7 @@ bool View::DrawConnection() else { auto val = int( p.val ); + ImGui::SetNextItemWidth( 100 * GetScale() ); if( ImGui::InputInt( "", &val, 1, 100, ImGuiInputTextFlags_EnterReturnsTrue ) ) { m_worker.SetParameter( idx, int32_t( val ) );