summaryrefslogtreecommitdiff
path: root/redo/basicctrls.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-07-30 22:45:03 -0400
committerPietro Gagliardi <[email protected]>2014-07-30 22:45:03 -0400
commitb1902686ca4909e7fb701d370eaa4df686090d0c (patch)
tree787c0e72d63cd3c74920798ca8d9095e12878e5c /redo/basicctrls.go
parentbdc8aac4d6407f4e0a2ef7e15bb0c411ca606bb8 (diff)
Disambiguated what happens when a regular Label is used in a Standalone context.
Diffstat (limited to 'redo/basicctrls.go')
-rw-r--r--redo/basicctrls.go1
1 files changed, 1 insertions, 0 deletions
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