Video widget transparent background — matches QSS theme

Removes black letterboxing around videos in themed mode.
This commit is contained in:
pax 2026-04-05 20:10:25 -05:00
parent e895f5e702
commit 30de2fa6ed

View File

@ -399,9 +399,9 @@ class VideoPlayer(QWidget):
layout.setContentsMargins(0, 0, 0, 0) layout.setContentsMargins(0, 0, 0, 0)
layout.setSpacing(0) layout.setSpacing(0)
# Video surface # Video surface — inherit theme background instead of black
self._video_widget = QVideoWidget() self._video_widget = QVideoWidget()
self._video_widget.setAutoFillBackground(True) self._video_widget.setStyleSheet("background: transparent;")
layout.addWidget(self._video_widget, stretch=1) layout.addWidget(self._video_widget, stretch=1)
# Player # Player