I keep forgetting to commit stuff
This commit is contained in:
2
label.go
2
label.go
@@ -11,7 +11,7 @@ type Label struct {
|
||||
// NewLabel creates a new text label.
|
||||
func NewLabel (text string) *Label {
|
||||
this := &Label { TextBox: tomo.NewTextBox() }
|
||||
theme.Apply(this, theme.R("objects", "Label"))
|
||||
theme.Apply(this, theme.R("objects", "Label", ""))
|
||||
this.SetText(text)
|
||||
return this
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user