I keep forgetting to commit stuff
This commit is contained in:
2
input.go
2
input.go
@@ -18,7 +18,7 @@ type TextInput struct {
|
||||
// NewTextInput creates a new text input containing the specified text.
|
||||
func NewTextInput (text string) *TextInput {
|
||||
this := &TextInput { TextBox: tomo.NewTextBox() }
|
||||
theme.Apply(this, theme.R("objects", "TextInput"))
|
||||
theme.Apply(this, theme.R("objects", "TextInput", ""))
|
||||
this.SetText(text)
|
||||
this.SetFocusable(true)
|
||||
this.SetSelectable(true)
|
||||
|
||||
Reference in New Issue
Block a user