[vlc-commits] [Git][videolan/vlc][master] qml: set fill mode to preserve aspect crop in `NetworkGridItem`
    Steve Lhomme (@robUx4) 
    gitlab at videolan.org
       
    Sat Feb  8 15:05:45 UTC 2025
    
    
  
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
a0d5d9ce by Fatih Uzunoglu at 2025-02-08T14:52:51+00:00
qml: set fill mode to preserve aspect crop in `NetworkGridItem`
The delegate expects that the image fills the area denoted for
the image.
- - - - -
1 changed file:
- modules/gui/qt/network/qml/NetworkGridItem.qml
Changes:
=====================================
modules/gui/qt/network/qml/NetworkGridItem.qml
=====================================
@@ -44,6 +44,8 @@ Widgets.GridItem {
         return ""
     }
 
+    fillMode: Image.PreserveAspectCrop
+
     cacheImage: true // we may have network thumbnail
 
     fallbackImage: {
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/a0d5d9cec6b4025021d7250e7c842584c771861f
-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/a0d5d9cec6b4025021d7250e7c842584c771861f
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