diff options
| author | Pietro Gagliardi <[email protected]> | 2014-02-25 15:44:57 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-02-25 15:44:57 -0500 |
| commit | 700cbbec7e48a3716a4802b75b473f489ce30ee5 (patch) | |
| tree | ae828adda434ce612c62bc8840635e8d28a291c8 | |
| parent | cd73e42850e4477b3012febff19d04ce6bca7387 (diff) | |
More documentation fixups.
| -rw-r--r-- | stack.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) } |
