[vlc-commits] qml: change color of SliderBar in ControlBar

Prince Gupta git at videolan.org
Mon Feb 8 10:00:24 UTC 2021


vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Wed Jan 20 19:54:45 2021 +0530| [c57f8bebe3a473f16c26e2caf978dbb99c94c84f] | committer: Pierre Lamot

qml: change color of SliderBar in ControlBar

Signed-off-by: Pierre Lamot <pierre at videolabs.io>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c57f8bebe3a473f16c26e2caf978dbb99c94c84f
---

 modules/gui/qt/player/qml/ControlBar.qml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/gui/qt/player/qml/ControlBar.qml b/modules/gui/qt/player/qml/ControlBar.qml
index a95c1447bc..7bc7ef7f2e 100644
--- a/modules/gui/qt/player/qml/ControlBar.qml
+++ b/modules/gui/qt/player/qml/ControlBar.qml
@@ -82,6 +82,9 @@ Widgets.NavigableFocusScope {
         }
         SliderBar {
             id: trackPositionSlider
+
+            backgroundColor: Qt.lighter(colors.playerBg, 1.6180)
+            progressBarColor: activeFocus ? colors.accent : colors.playerControlBarFg
             Layout.alignment: Qt.AlignLeft | Qt.AlignTop
             Layout.fillWidth: true
             enabled: player.playingState == PlayerController.PLAYING_STATE_PLAYING || player.playingState == PlayerController.PLAYING_STATE_PAUSED



More information about the vlc-commits mailing list