andlabs / ui

Platform-native GUI library for Go.
Other
8.34k stars 648 forks source link

Multiline text input #249

Closed rawsh closed 6 years ago

rawsh commented 6 years ago

I see that it's done in a few issues, how can it be set up? I would be eternally grateful for an example. Also, how can I add some padding (the text in the example you have is right on the edge of the window). SetPadding(true) does not change anything for me.

Thanks, Robert

andlabs commented 6 years ago

Margins around the window are done with SetMargined(true).

I haven't put multiline text fields in the Go bindings yet, sorry. They'll go in on the next binary release.

rawsh commented 6 years ago

Ok, cool. I found multiline text in another repo so I will use that for now.