1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Add hints to input text fields.

This commit is contained in:
Bartosz Taudul
2019-03-15 01:31:06 +01:00
parent 476287b5f2
commit 6a36bb2fc2
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -289,7 +289,7 @@ int main( int argc, char** argv )
ImGui::Separator();
ImGui::TextUnformatted( "Connect to client" );
bool connectClicked = false;
connectClicked |= ImGui::InputText( "", addr, 1024, ImGuiInputTextFlags_EnterReturnsTrue );
connectClicked |= ImGui::InputTextWithHint( "", "Enter address", addr, 1024, ImGuiInputTextFlags_EnterReturnsTrue );
if( !connHistVec.empty() )
{
ImGui::SameLine();