Update code for objects
This commit is contained in:
@@ -20,7 +20,6 @@ type TextInput struct {
|
||||
func NewTextInput (text string) *TextInput {
|
||||
this := &TextInput { TextBox: tomo.NewTextBox() }
|
||||
this.SetRole(tomo.R("objects", "TextInput", ""))
|
||||
tomo.Apply(this)
|
||||
this.SetAlign(tomo.AlignStart, tomo.AlignMiddle)
|
||||
this.SetText(text)
|
||||
this.SetFocusable(true)
|
||||
|
||||
Reference in New Issue
Block a user