From dfcdc0b9e8ff2b6c30c9350c09422dc9a7099191 Mon Sep 17 00:00:00 2001 From: Keith Edmunds Date: Wed, 17 Aug 2022 21:28:32 +0100 Subject: [PATCH] Only resize track rows that have notes --- app/playlists.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/playlists.py b/app/playlists.py index d40055d..e8bf9e0 100644 --- a/app/playlists.py +++ b/app/playlists.py @@ -995,6 +995,9 @@ class PlaylistTab(QTableWidget): (self.item(row, columns['row_notes'].idx) .setBackground(QColor(note_colour))) + # Ensure content is visible by wrapping cells + self.resizeRowToContents(row) + # Render playing track if row == current_row: # Set start time