don't show separators between list rows
This commit is contained in:
@@ -84,6 +84,7 @@ func NewSearchDialog(im util.ImageFetcher, title, dismissBtn string, onSearched
|
||||
sr.Update(result)
|
||||
},
|
||||
)
|
||||
sd.list.HideSeparators = true
|
||||
return sd
|
||||
}
|
||||
|
||||
|
||||
@@ -29,9 +29,10 @@ type FocusListRow interface {
|
||||
func NewFocusList(len func() int, create func() fyne.CanvasObject, update func(widget.GridWrapItemID, fyne.CanvasObject)) *FocusList {
|
||||
g := &FocusList{
|
||||
List: widget.List{
|
||||
Length: len,
|
||||
CreateItem: create,
|
||||
UpdateItem: update,
|
||||
HideSeparators: true,
|
||||
Length: len,
|
||||
CreateItem: create,
|
||||
UpdateItem: update,
|
||||
},
|
||||
itemForIndex: make(map[int]FocusListRow),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user