[vlc-commits] qml: update griditem properties
Prince Gupta
git at videolan.org
Fri Jul 3 14:59:33 CEST 2020
vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Mon Jun 22 00:04:55 2020 +0530| [971359b0922d0fad7e65916ea94b6d3a99fa53b3] | committer: Pierre Lamot
qml: update griditem properties
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=971359b0922d0fad7e65916ea94b6d3a99fa53b3
---
modules/gui/qt/medialibrary/qml/AudioGridItem.qml | 1 +
modules/gui/qt/medialibrary/qml/VideoGridItem.qml | 2 ++
modules/gui/qt/network/qml/NetworkGridItem.qml | 1 +
3 files changed, 4 insertions(+)
diff --git a/modules/gui/qt/medialibrary/qml/AudioGridItem.qml b/modules/gui/qt/medialibrary/qml/AudioGridItem.qml
index abbef7053e..c06a7fe8ec 100644
--- a/modules/gui/qt/medialibrary/qml/AudioGridItem.qml
+++ b/modules/gui/qt/medialibrary/qml/AudioGridItem.qml
@@ -29,4 +29,5 @@ Widgets.GridItem {
subtitle: model.main_artist || i18n.qtr("Unknown artist")
pictureWidth: VLCStyle.gridCover_music_width
pictureHeight: VLCStyle.gridCover_music_height
+ playCoverBorder.width: VLCStyle.gridCover_music_border
}
diff --git a/modules/gui/qt/medialibrary/qml/VideoGridItem.qml b/modules/gui/qt/medialibrary/qml/VideoGridItem.qml
index 72305caa0b..9e374ab4e8 100644
--- a/modules/gui/qt/medialibrary/qml/VideoGridItem.qml
+++ b/modules/gui/qt/medialibrary/qml/VideoGridItem.qml
@@ -34,6 +34,8 @@ Widgets.GridItem {
progress: model.progress > 0 ? model.progress : 0
pictureWidth: VLCStyle.gridCover_video_width
pictureHeight: VLCStyle.gridCover_video_height
+ playCoverBorder.width: VLCStyle.gridCover_video_border
+ titleMargin: VLCStyle.margin_xxsmall
onItemDoubleClicked: {
if ( model.id !== undefined ) {
medialib.addAndPlay( model.id )
diff --git a/modules/gui/qt/network/qml/NetworkGridItem.qml b/modules/gui/qt/network/qml/NetworkGridItem.qml
index 06b12a1145..d0c380209b 100644
--- a/modules/gui/qt/network/qml/NetworkGridItem.qml
+++ b/modules/gui/qt/network/qml/NetworkGridItem.qml
@@ -33,6 +33,7 @@ Widgets.GridItem {
pictureWidth: VLCStyle.gridCover_network_width
pictureHeight: VLCStyle.gridCover_network_height
+ playCoverBorder.width: VLCStyle.gridCover_network_border
image: {
if (model.artwork && model.artwork.toString() !== "") {
More information about the vlc-commits
mailing list