diff --git a/layouts/layout.go b/layouts/layout.go index 1e44f9b..9921a88 100644 --- a/layouts/layout.go +++ b/layouts/layout.go @@ -18,18 +18,17 @@ type Layout interface { // and changes the position of the entiries in the slice so that they // are properly laid out. The given width and height should not be less // than what is returned by MinimumSize. - Arrange (entries []LayoutEntry, margin int, bounds image.Rectangle) + Arrange (entries []LayoutEntry, bounds image.Rectangle) // MinimumSize returns the minimum width and height that the layout // needs to properly arrange the given slice of layout entries. - MinimumSize (entries []LayoutEntry, margin int) (width, height int) + MinimumSize (entries []LayoutEntry) (width, height int) // FlexibleHeightFor Returns the minimum height the layout needs to lay // out the specified elements at the given width, taking into account // flexible elements. FlexibleHeightFor ( entries []LayoutEntry, - margin int, squeeze int, ) ( height int,