Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#6248 closed defect (invalid)

Add GUI property input_init_value_destroyed_at_focus

Reported by: Langbart Owned by:
Priority: If Time Permits Milestone:
Component: UI & Simulation Keywords: GUI
Cc: Patch:

Description

Currently the chat input field in the lobby has no default text e.g. Say something, which gets destroyed as soon as you select the field. The article wiki/GUI_-_Properties already lists this possibility, but says Not yet implemented (last edit 22/Oct/13).

It should look like in the image below, it comes from a game called: Wreckfest:

Attachments (1)

lobby_say_something.jpg (74.6 KB ) - added by Langbart 3 years ago.

Download all attachments as: .zip

Change History (2)

by Langbart, 3 years ago

Attachment: lobby_say_something.jpg added

comment:1 by Langbart, 3 years ago

Milestone: Alpha 26
Resolution: invalid
Status: newclosed

The problem has already been addressed by Angen, just use:

  • placeholder_text="Say something".

Edit: Updated the wiki article.
https://trac.wildfiregames.com/wiki/GUI_-_Properties

Last edited 3 years ago by Langbart (previous) (diff)
Note: See TracTickets for help on using tickets.