AllenDang / giu

Cross platform rapid GUI framework for golang based on Dear ImGui.
MIT License
2.16k stars 128 forks source link

How do i make InputTextMultiline wrapped #734

Closed JunkMeal closed 6 months ago

JunkMeal commented 7 months ago

I want to make the text of

g.InputTextMultiline(&response).Size(g.Auto, g.Auto).Flags(g.InputTextFlagsReadOnly)

wrapped? I know there is .Wrapped(true) on labels, but not here?

AllenDang commented 7 months ago

imgui doesn't provide wrap for InputTextMultiline, so it doesn't have it so far

gucio321 commented 6 months ago

@JunkMeal I'm sorry, I had to miss this issue somehow.

In the black hole of this project there was a document about this: https://github.com/AllenDang/giu/discussions/563 -> https://github.com/AllenDang/giu/issues/434

Need to link it somewhere, maybe on wiki.