I keep forgetting to commit stuff

This commit is contained in:
2023-08-10 17:52:01 -04:00
parent 8d7d9882ba
commit c0bfa76ba6
10 changed files with 213 additions and 10 deletions

View File

@@ -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)