Forgot to wrap the multiline input text haha
This commit is contained in:
parent
92e4eb970d
commit
b9c4e3c003
@ -28,6 +28,7 @@ func newTextInput (text string, multiline bool) *TextInput {
|
||||
textInput.box.SetTag("multiline", multiline)
|
||||
if multiline {
|
||||
textInput.box.SetAttr(tomo.AOverflow(false, true))
|
||||
textInput.box.SetAttr(tomo.AWrap(true))
|
||||
textInput.box.SetAttr(tomo.AAlign(tomo.AlignStart, tomo.AlignStart))
|
||||
} else {
|
||||
textInput.box.SetAttr(tomo.AOverflow(true, false))
|
||||
|
Loading…
Reference in New Issue
Block a user