From 321d632b6a72508aa6447741ca69e308fef99af6 Mon Sep 17 00:00:00 2001 From: Broque Thomas Date: Sun, 20 Jul 2025 17:14:32 -0700 Subject: [PATCH] better --- ui/pages/sync.py | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/ui/pages/sync.py b/ui/pages/sync.py index 8b02a84a..57e4ec5f 100644 --- a/ui/pages/sync.py +++ b/ui/pages/sync.py @@ -402,8 +402,26 @@ class PlaylistDetailsModal(QDialog): } """) + # Download missing tracks button + download_btn = QPushButton("Download Missing Tracks") + download_btn.setFixedSize(180, 40) + download_btn.setStyleSheet(""" + QPushButton { + background: transparent; + border: 1px solid #1db954; + border-radius: 20px; + color: #1db954; + font-size: 12px; + font-weight: bold; + } + QPushButton:hover { + background: rgba(29, 185, 84, 0.1); + } + """) + button_layout.addStretch() button_layout.addWidget(close_btn) + button_layout.addWidget(download_btn) button_layout.addWidget(sync_btn) return button_layout @@ -590,8 +608,8 @@ class PlaylistItem(QFrame): content_layout.addLayout(info_layout) # Action button - action_btn = QPushButton("View Details") - action_btn.setFixedSize(100, 30) + action_btn = QPushButton("Sync / Download") + action_btn.setFixedSize(120, 30) # Slightly wider for longer text action_btn.clicked.connect(self.on_view_details_clicked) action_btn.setStyleSheet(""" QPushButton {