Skip to content

Commit

Permalink
Fix #293: Trucate album title in info dialog if too long
Browse files Browse the repository at this point in the history
  • Loading branch information
dweymouth committed Dec 16, 2023
1 parent e7a6e2c commit 64f57c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/dialogs/albuminfodialog.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ func (a *AlbumInfoDialog) buildMainContainer(albumInfo *mediaprovider.AlbumInfo,
title.Segments[0].(*widget.TextSegment).Style.TextStyle.Bold = true
title.Segments[0].(*widget.TextSegment).Style.SizeName = theme.SizeNameSubHeadingText
title.Segments[0].(*widget.TextSegment).Style.Alignment = fyne.TextAlignCenter
title.Truncation = fyne.TextTruncateEllipsis

infoContent := widget.NewLabel("Album info not available")

Expand Down

0 comments on commit 64f57c7

Please sign in to comment.