stack: fix comment

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-10-15 15:46:02 +02:00
parent b2a360098a
commit 0783d1939e
+1 -2
View File
@@ -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)