[vlc-devel] [PATCH 30/33] qml: change color of SliderBar in ControlBar
Prince Gupta
guptaprince8832 at gmail.com
Wed Feb 3 10:56:46 UTC 2021
---
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
--
2.25.1
More information about the vlc-devel
mailing list