From f230036cad23c61b09f32a510d84f785adaffe27 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Fri, 4 Oct 2019 19:16:17 +0200 Subject: [PATCH] text: re-phrase and clarify Label.MaxLines comment Signed-off-by: Elias Naur --- text/label.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/text/label.go b/text/label.go index 1680d47e..e9b942e6 100644 --- a/text/label.go +++ b/text/label.go @@ -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