From b1902686ca4909e7fb701d370eaa4df686090d0c Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 30 Jul 2014 22:45:03 -0400 Subject: [PATCH] Disambiguated what happens when a regular Label is used in a Standalone context. --- redo/basicctrls.go | 1 + 1 file changed, 1 insertion(+) diff --git a/redo/basicctrls.go b/redo/basicctrls.go index c0cb0d5..1ff3f57 100644 --- a/redo/basicctrls.go +++ b/redo/basicctrls.go @@ -67,6 +67,7 @@ func NewPasswordField() TextField { // Label is a Control that shows a static line of text. // Label shows one line of text; any text that does not fit is truncated. // A Label can either have smart vertical alignment relative to the control to its right or just be vertically aligned to the top (standalone). +// The effect of placing a non-standalone Label in any context other than to the immediate left of a Control (TODO currently basic Control only? recheck Stack/Grid code) is undefined. type Label interface { Control