[vlc-devel] [PATCH 2/2] qml: leave space for borders of GridItem in VideoDisplayRecentVideos
Prince Gupta
guptaprince8832 at gmail.com
Fri Jan 22 16:16:09 UTC 2021
---
modules/gui/qt/medialibrary/qml/VideoDisplayRecentVideos.qml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/modules/gui/qt/medialibrary/qml/VideoDisplayRecentVideos.qml b/modules/gui/qt/medialibrary/qml/VideoDisplayRecentVideos.qml
index afb1901ebd..431abe8ab1 100644
--- a/modules/gui/qt/medialibrary/qml/VideoDisplayRecentVideos.qml
+++ b/modules/gui/qt/medialibrary/qml/VideoDisplayRecentVideos.qml
@@ -75,7 +75,7 @@ Widgets.NavigableFocusScope {
id: recentVideosListView
width: parent.width
- implicitHeight: VLCStyle.gridItem_video_height_large
+ implicitHeight: VLCStyle.gridItem_video_height_large + VLCStyle.gridItemSelectedBorder + VLCStyle.margin_normal
spacing: VLCStyle.column_margin_width
orientation: ListView.Horizontal
@@ -96,6 +96,8 @@ Widgets.NavigableFocusScope {
id: recentVideoGridItem
focus: true
+ x: selectedBorderWidth
+ y: selectedBorderWidth
image: model.thumbnail || VLCStyle.noArtCover
title: model.title || i18n.qtr("Unknown title")
--
2.25.1
More information about the vlc-devel
mailing list