Make slider background transparent

Sliders, e.g. in the video condition, would otherwise block parts of the
highlight frame around macro segments.
This commit is contained in:
WarmUpTill 2022-02-13 17:45:38 +01:00 committed by WarmUpTill
parent d8dcd91ed9
commit 2c25bb4dd4

View File

@ -60,7 +60,8 @@ MacroSegmentEdit::MacroSegmentEdit(bool verticalControls, QWidget *parent)
_frame->setLayout(_highLightFrameLayout);
// Set background transparent to avoid blocking highlight frame
setStyleSheet("QCheckBox { background-color: rgba(0,0,0,0); }\
QLabel { background-color: rgba(0,0,0,0); }");
QLabel { background-color: rgba(0,0,0,0); } \
QSlider { background-color: rgba(0,0,0,0); }");
// Keep the size of macro segments consistent, even if there is room in
// the edit areas