Skip to content

How do you create a Textarea? #215

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

Closed
xeoncross opened this issue Jan 18, 2017 · 5 comments
Closed

How do you create a Textarea? #215

xeoncross opened this issue Jan 18, 2017 · 5 comments

Comments

@xeoncross
Copy link

xeoncross commented Jan 18, 2017

It's easy enough to create a text input (single line) but how can you create a textarea (supports multiple lines)?

	myInput := ui.NewEntry()
	myTextarea := ???
@andlabs
Copy link
Owner

andlabs commented Jan 18, 2017

There is a plain text multiline entry in libui; it will be added to package ui in the next binary release. Rich text will have to wait a bit longer, but custom text-handling areas are in the works.

@xeoncross
Copy link
Author

You can save some work by just pulling https://github.com/ProtonMail/ui since they seem to have already typed it out for you.

@nndurj
Copy link

nndurj commented Jan 20, 2017

Came here to ask the same question.

@centifocus
Copy link

centifocus commented Aug 29, 2017

https://github.com/ProtonMail/ui MultilineEntry.go
it works.

@andlabs
Copy link
Owner

andlabs commented Mar 25, 2018

Replaced with #277.

(More advanced things, like rich edit, will come in the future.)

@andlabs andlabs closed this as completed Mar 25, 2018
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

No branches or pull requests

4 participants