From d4e88479083d829d61c781c8f43a0a30633d5542 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Sun, 25 Aug 2024 01:38:42 -0400 Subject: [PATCH] Fix doc comments on Label, TextInput --- label.go | 2 +- textinput.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)) }