[vlc-devel] [PATCH 08/14] qml: update griditem properties
Prince Gupta
guptaprince8832 at gmail.com
Thu Jul 2 14:23:17 CEST 2020
---
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() !== "") {
--
2.25.1
More information about the vlc-devel
mailing list