[vlc-commits] [Git][videolan/vlc][master] qml: use fill mode stretch in VideoGridItem

Steve Lhomme (@robUx4) gitlab at videolan.org
Thu Jan 16 09:50:25 UTC 2025



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
e28d4cba by Fatih Uzunoglu at 2025-01-16T09:27:02+00:00
qml: use fill mode stretch in VideoGridItem

`PreserveAspectFit` (default) or preserving the
aspect ratio in general is not necessary here.

- - - - -


1 changed file:

- modules/gui/qt/medialibrary/qml/VideoGridItem.qml


Changes:

=====================================
modules/gui/qt/medialibrary/qml/VideoGridItem.qml
=====================================
@@ -40,6 +40,7 @@ Widgets.GridItem {
 
     image: model.thumbnail || ""
     fallbackImage: VLCStyle.noArtVideoCover
+    fillMode: Image.Stretch
 
     title: model.title || qsTr("Unknown title")
     subtitle: model?.duration?.formatHMS() ?? ""



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/e28d4cba0993012c3d72f2f341914124528e3f82

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/e28d4cba0993012c3d72f2f341914124528e3f82
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list