Skip to content

Commit 88f426d

Browse files
author
zacaj
committed
fix fileType column width
1 parent 923dad9 commit 88f426d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/widgets/tracklistrow.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ var (
183183
widget.NewLabel(size).MinSize().Width+sortIconWidth)
184184
fileTypeColWidth := fyne.Max(
185185
widget.NewLabel("FLAC").MinSize().Width,
186-
widget.NewLabel(size).MinSize().Width+sortIconWidth)
186+
widget.NewLabel(fileType).MinSize().Width+sortIconWidth)
187187

188188
// #, Title, Artist, Album, AlbumArtist, Composer, Genre, Time, Year, Favorite, Rating, Plays, LastPlayed, Comment, BPM, Bitrate, Size, FileType, DateAdded, Path
189189
CompactTracklistRowColumnWidths = []float32{numColWidth, -1, -1, -1, -1, -1, -1, timeColWidth, yearColWidth, favColWidth, ratingColWidth, playsColWidth, lastPlayedColWidth, -1, bpmColWidth, bitrateColWidth, sizeColWidth, fileTypeColWidth, dateAddedColWidth, -1}

0 commit comments

Comments
 (0)