From 700cbbec7e48a3716a4802b75b473f489ce30ee5 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 25 Feb 2014 15:44:57 -0500 Subject: [PATCH] More documentation fixups. --- stack.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stack.go b/stack.go index d36f0f3..c01e9bd 100644 --- a/stack.go +++ b/stack.go @@ -165,8 +165,8 @@ func (s *Stack) preferredSize() (width int, height int, err error) { } // 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. +// In order for a 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. + // As above, a Stack with no controls draws nothing and reports no errors; its parent will still size it properly if made stretchy. return NewStack(Horizontal) }