use rounded image corners (TODO: allow disabling this)
This commit is contained in:
@@ -304,6 +304,7 @@ func (g *GridView) createGridWrap() {
|
||||
|
||||
func (g *GridView) createNewItemCard() fyne.CanvasObject {
|
||||
card := NewGridViewItem(g.Placeholder)
|
||||
card.Cover.Im.CornerRadius = theme.InputRadiusSize()
|
||||
card.SetSize(backend.AppInstance().Config.GridView.CardSize)
|
||||
card.ItemIndex = -1
|
||||
card.ImgLoader = util.NewThumbnailLoader(g.imageFetcher, card.Cover.SetImage)
|
||||
|
||||
Reference in New Issue
Block a user