From 2c25bb4dd475aa6a32e140d5264db2264741ca4a Mon Sep 17 00:00:00 2001 From: WarmUpTill Date: Sun, 13 Feb 2022 17:45:38 +0100 Subject: [PATCH] Make slider background transparent Sliders, e.g. in the video condition, would otherwise block parts of the highlight frame around macro segments. --- src/macro-segment.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/macro-segment.cpp b/src/macro-segment.cpp index 959ca6bd..273a6514 100644 --- a/src/macro-segment.cpp +++ b/src/macro-segment.cpp @@ -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