diff --git a/layout/stack.go b/layout/stack.go index 694c07b3..a6e045e2 100644 --- a/layout/stack.go +++ b/layout/stack.go @@ -36,8 +36,7 @@ func (s *Stack) Rigid(gtx *Context, w Widget) StackChild { return StackChild{m, dims} } -// Expand lays out a widget with constraints that exactly match -// the biggest child previously added. +// Expand lays out a widget. func (s *Stack) Expand(gtx *Context, w Widget) StackChild { var m op.MacroOp m.Record(gtx.Ops)