vlc | branch: master | Prince Gupta <guptaprince8...@gmail.com> | Mon Oct 19 20:52:00 2020 +0530| [f9eed8078c50f1ec232432477dc954f0976ecb6a] | committer: Pierre Lamot
qml: redo shadows for album picture in maxplayer Signed-off-by: Pierre Lamot <pie...@videolabs.io> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f9eed8078c50f1ec232432477dc954f0976ecb6a --- modules/gui/qt/player/qml/Player.qml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/modules/gui/qt/player/qml/Player.qml b/modules/gui/qt/player/qml/Player.qml index e76acb162a..2aabb25864 100644 --- a/modules/gui/qt/player/qml/Player.qml +++ b/modules/gui/qt/player/qml/Player.qml @@ -300,15 +300,24 @@ Widgets.NavigableFocusScope { anchors.centerIn: parent } + DropShadow { + anchors.fill: cover + source: cover + horizontalOffset: 0 + verticalOffset: VLCStyle.dp(1, VLCStyle.scale) + radius: VLCStyle.dp(3, VLCStyle.scale) + samples: 1 + VLCStyle.dp(3, VLCStyle.scale) * 2 + color: Qt.rgba(0, 0, 0, .18) + } DropShadow { anchors.fill: cover source: cover - horizontalOffset: 3 - verticalOffset: 10 - radius: 12 - samples: 17 - color: "black" + horizontalOffset: 0 + verticalOffset: VLCStyle.dp(6, VLCStyle.scale) + radius: VLCStyle.dp(14, VLCStyle.scale) + samples: 1 + VLCStyle.dp(14, VLCStyle.scale) * 2 + color: Qt.rgba(0, 0, 0, .22) } } _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits