From 0783d1939ed1c34b96fab5b7620a82b8db5109b5 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Tue, 15 Oct 2019 15:46:02 +0200 Subject: [PATCH] stack: fix comment Signed-off-by: Elias Naur --- layout/stack.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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)