[vlc-commits] qml: add glow effect to MainDisplay's playlist sidebar
Fatih Uzunoglu
git at videolan.org
Fri Jul 3 14:59:13 CEST 2020
vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Wed Jun 24 22:04:48 2020 +0300| [13d483b4894c25562484fc5e618ef79f895b26f0] | committer: Pierre Lamot
qml: add glow effect to MainDisplay's playlist sidebar
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=13d483b4894c25562484fc5e618ef79f895b26f0
---
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
}
}
}
More information about the vlc-commits
mailing list