Skip to content

Commit e678464

Browse files
committed
Return layout interface when creating new RowWrap
1 parent 46f0988 commit e678464

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layout/rowwrap.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type rowWrapLayout struct {
1515
// Object visibility is supported.
1616
//
1717
// Since: 2.7
18-
func NewRowWrapLayout() *rowWrapLayout {
18+
func NewRowWrapLayout() fyne.Layout {
1919
return &rowWrapLayout{}
2020
}
2121

0 commit comments

Comments
 (0)