fyne-io / fyne-x

Community extensions to the cross platform GUI in Go based on Material Design
Other
247 stars 59 forks source link

Minor improvements to widget.GridWrap #61

Closed Jacalz closed 1 year ago

Jacalz commented 1 year ago

We now make sure that this matches https://github.com/fyne-io/fyne/blob/6558290e7ea3cc2604a5537b08c824593282fe24/widget/list.go#L20 in widget.List. It makes it possible to use int directly and even share the function between gridwrap and list if necessary.

On top of that I just put in some very minor changes to the code.