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 Alignment Alignment
// Text is the string to draw. // Text is the string to draw.
Text string Text string
// MaxLines specify the maximum number of lines the text // MaxLines limits the number of lines. Zero means no limit.
// may fill.
MaxLines int MaxLines int
it lineIterator it lineIterator