mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Fit trace description entry field to window width.
This commit is contained in:
parent
d9eb04f68e
commit
024182b6a0
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user