[vlc-devel] [PATCH 13/21] qml: make the seekbar background semi-transparent

Pierre Lamot pierre at videolabs.io
Wed Aug 7 15:52:19 CEST 2019


---
 modules/gui/qt/qml/player/SliderBar.qml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/gui/qt/qml/player/SliderBar.qml b/modules/gui/qt/qml/player/SliderBar.qml
index f9372479ff..73e2e0980e 100644
--- a/modules/gui/qt/qml/player/SliderBar.qml
+++ b/modules/gui/qt/qml/player/SliderBar.qml
@@ -98,7 +98,8 @@ Slider {
         width: control.availableWidth
         implicitHeight: control.implicitHeight
         height: implicitHeight
-        color: "transparent"
+        color:  VLCStyle.colors.setColorAlpha( VLCStyle.colors.playerFg, 0.7 )
+        radius: implicitHeight
 
         MouseArea {
             id: sliderRectMouseArea
-- 
2.17.1



More information about the vlc-devel mailing list