diff --git a/container.go b/container.go index 50cc6d083c..581107d016 100644 --- a/container.go +++ b/container.go @@ -111,7 +111,7 @@ func (c *Container) MinSize() Size { c.lock.Unlock() if layout != nil { - return c.Layout.MinSize(obj) + return layout.MinSize(obj) } minSize := NewSize(1, 1)