Disambiguated what happens when a regular Label is used in a Standalone context.

This commit is contained in:
Pietro Gagliardi 2014-07-30 22:45:03 -04:00
parent bdc8aac4d6
commit b1902686ca
1 changed files with 1 additions and 0 deletions

View File

@ -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