use rounded image corners (TODO: allow disabling this)

This commit is contained in:
Drew Weymouth
2025-11-15 10:35:17 -08:00
parent 9f399a447c
commit c14342eff8
14 changed files with 30 additions and 12 deletions
+1
View File
@@ -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)