Closed
Description
Version/Branch of Dear ImGui:
docking
Details:
I would like to provide preview value for InputText. What would be the simplest way to achieve that?
E.g. I have text box with "some/very/long/long/path/to/file", but I would like to show ".../path/to/file" instead as long as user is not editing the text. When user starts editing the text, the "real" value is displayed.
I feel like there should be some trick to do that with existing InputText widget. I can maybe replace text value on the fly, but I am vary of messing this up and making text box wacky.