[vlc-devel] [PATCH 13/23] qml: add glow effect to MainDisplay's playlist sidebar
Fatih Uzunoglu
fuzun54 at outlook.com
Thu Jul 2 15:21:58 CEST 2020
---
modules/gui/qt/medialibrary/qml/MainDisplay.qml | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt/medialibrary/qml/MainDisplay.qml b/modules/gui/qt/medialibrary/qml/MainDisplay.qml
index 4929f45709..66505cd4d8 100644
--- a/modules/gui/qt/medialibrary/qml/MainDisplay.qml
+++ b/modules/gui/qt/medialibrary/qml/MainDisplay.qml
@@ -18,6 +18,7 @@
import QtQuick 2.11
import QtQuick.Controls 2.4
import QtQuick.Layouts 1.3
+import QtGraphicalEffects 1.0
import org.videolan.medialib 0.1
import org.videolan.vlc 0.1
@@ -265,14 +266,16 @@ Widgets.NavigableFocusScope {
stackView.forceActiveFocus()
}
- Rectangle {
+ RectangularGlow {
anchors {
top: parent.top
left: parent.left
bottom: parent.bottom
}
width: VLCStyle.margin_xxsmall
- color: VLCStyle.colors.banner
+
+ glowRadius: VLCStyle.dp(8)
+ color: VLCStyle.colors.glowColor
}
}
}
--
2.25.1
More information about the vlc-devel
mailing list