text: re-phrase and clarify Label.MaxLines comment

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-10-04 19:16:17 +02:00
parent 31e12607d7
commit f230036cad
+1 -2
View File
@@ -27,8 +27,7 @@ type Label struct {
Alignment Alignment
// Text is the string to draw.
Text string
// MaxLines specify the maximum number of lines the text
// may fill.
// MaxLines limits the number of lines. Zero means no limit.
MaxLines int
it lineIterator