Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiline TextInput / Text Area support? #62

Closed
Sondro opened this issue Mar 29, 2018 · 7 comments
Closed

Multiline TextInput / Text Area support? #62

Sondro opened this issue Mar 29, 2018 · 7 comments

Comments

@Sondro
Copy link

Sondro commented Mar 29, 2018

Hi, was going through the examples again, do you support multiline TextInput/text areas?

If not is there a roadmap for when it would be added?

It looks like img ui supports it: https://github.com/ocornut/imgui/search?utf8=%E2%9C%93&q=multiline&type=

@luboslenco
Copy link
Member

Hello. Not supported yet but will get to it eventually. PR welcome.:)

@Sondro
Copy link
Author

Sondro commented Mar 30, 2018

Hi, I started working on the textInputMulti for a bit yesterday and got it drawn and placed properly in scale.

The general idea is to have a fixed lines num and/or grow = true and have the panel update and use it's scrollbar (since there isn't much room to attach a bar elsewhere). Then maybe glue scrolling panels onto other panels later.

Anyways, I ran into a lot of buggy performance with scrollbars disappearing, labels popping and flying off, input spamming, and other stuff that is from zui.

I tried to document the issues and post an example here (def not PR ready):

https://github.com/Sondro/zux

@Sondro
Copy link
Author

Sondro commented Mar 30, 2018

Whoops, I made too many copies of zux (wip zui) and I lost the latest one. Just updated the repo with one that works better, but the scale is not working in this one. Sorry about that.

@ImmanuelSamuel
Copy link

Really need this feature for an RPG type game I am developing. Need some multi-line text support for mission details.

@BlackGoku36
Copy link
Contributor

BlackGoku36 commented Feb 6, 2019

Hello, any update on getting it implemented?

@mundusnine
Copy link
Contributor

@BlackGoku36 it's implemented in this pull request

@luboslenco
Copy link
Member

See #73 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants