From 024182b6a09f05bb4404a9aee6c2354b6169710a Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 1 Feb 2020 17:36:51 +0100 Subject: [PATCH] Fit trace description entry field to window width. --- server/TracyView.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 1730f973..6f2e8338 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -11203,6 +11203,7 @@ void View::DrawInfo() char buf[256]; buf[descsz] = '\0'; memcpy( buf, desc.c_str(), descsz ); + ImGui::SetNextItemWidth( -1 ); if( ImGui::InputTextWithHint( "", "Enter description of the trace", buf, 256 ) ) { m_userData.SetDescription( buf );