use rounded image corners (TODO: allow disabling this)
This commit is contained in:
@@ -231,6 +231,7 @@ func NewAlbumPageHeader(page *AlbumPage) *AlbumPageHeader {
|
||||
a.ExtendBaseWidget(a)
|
||||
a.cover = widgets.NewImagePlaceholder(myTheme.AlbumIcon, 225)
|
||||
a.cover.OnTapped = func(*fyne.PointEvent) { go a.showPopUpCover() }
|
||||
a.cover.CornerRadius = theme.InputRadiusSize()
|
||||
|
||||
a.titleLabel = widget.NewRichTextWithText("")
|
||||
a.titleLabel.Truncation = fyne.TextTruncateEllipsis
|
||||
|
||||
Reference in New Issue
Block a user