vlc | branch: master | Prince Gupta <[email protected]> | Thu Jan  7 
19:41:48 2021 +0530| [03394c2d95bcd83e99b9cd0dba374d4e5f02cc28] | committer: 
Pierre Lamot

qml: leave space for borders of GridItem in VideoDisplayRecentVideos

Signed-off-by: Pierre Lamot <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=03394c2d95bcd83e99b9cd0dba374d4e5f02cc28
---

 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..9c05d66c89 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_xlarge
             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")

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to