summaryrefslogtreecommitdiff
path: root/stack.go
diff options
context:
space:
mode:
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 4bdede6..fc9d600 100644
--- a/stack.go
+++ b/stack.go
@@ -48,7 +48,7 @@ func NewVerticalStack(controls ...Control) *Stack {
return newStack(vertical, controls...)
}
-// SetStretchy marks a control in a Stack as stretchy. This cannot be called once the Window containing the Stack has been opened.
+// SetStretchy marks a control in a Stack as stretchy. This cannot be called once the Window containing the Stack has been created.
// It panics if index is out of range.
func (s *Stack) SetStretchy(index int) {
s.lock.Lock()