summaryrefslogtreecommitdiff
path: root/stack.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-02-25 15:43:12 -0500
committerPietro Gagliardi <[email protected]>2014-02-25 15:43:12 -0500
commitcd73e42850e4477b3012febff19d04ce6bca7387 (patch)
tree7e01a62c9112ec8d50e1d57f86a1653db29db657 /stack.go
parent8440c7a07823f8e405f03779b658f06808525081 (diff)
Documentation fixups.
Diffstat (limited to 'stack.go')
-rw-r--r--stack.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/stack.go b/stack.go
index 8f8808a..d36f0f3 100644
--- a/stack.go
+++ b/stack.go
@@ -164,7 +164,7 @@ func (s *Stack) preferredSize() (width int, height int, err error) {
return
}
-// Space() returns a null control intended for padding layouts with blank space where otherwise impossible (for instance, at the beginning or in the middle of a Stack).
+// Space returns a null control intended for padding layouts with blank space where otherwise impossible (for instance, at the beginning or in the middle of a Stack).
// In order for Space() to work, it must be marked as stretchy in its parent layout; otherwise its size is undefined.
func Space() Control {
// As above, a stack with no controls draws nothing and reports no errors; its parent will still size it properly.