diff --git a/label.go b/label.go index 175f8f0..636743f 100644 --- a/label.go +++ b/label.go @@ -33,7 +33,7 @@ func (this *Label) SetFocused (focused bool) { this.box.SetFocused(focused) } -// SetText sets the text content of the heading. +// SetText sets the text content of the label. func (this *Label) SetText (text string) { this.box.SetText(text) } diff --git a/textinput.go b/textinput.go index c6cc461..19954d5 100644 --- a/textinput.go +++ b/textinput.go @@ -55,7 +55,7 @@ func (this *TextInput) Dot () text.Dot { return this.box.Dot() } -// SetAlign sets the X and Y alignment of the label. +// SetAlign sets the X and Y alignment of the text input. func (this *TextInput) SetAlign (x, y tomo.Align) { this.box.SetAttr(tomo.AAlign(x, y)) }