[vlmc-devel] MediaItem: Don't be too small

Yikai Lu git at videolan.org
Sat Jun 24 12:49:48 CEST 2017


vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Sun Jun 25 04:42:55 2017 +0900| [10c853913d73fbd02630e4e020d5a6bb34c19f20] | committer: Yikai Lu

MediaItem: Don't be too small

> https://code.videolan.org/videolan/vlmc/commit/10c853913d73fbd02630e4e020d5a6bb34c19f20
---

 src/Gui/library/ui/MediaLibraryView.qml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Gui/library/ui/MediaLibraryView.qml b/src/Gui/library/ui/MediaLibraryView.qml
index 955a8b0d..82925621 100644
--- a/src/Gui/library/ui/MediaLibraryView.qml
+++ b/src/Gui/library/ui/MediaLibraryView.qml
@@ -71,7 +71,7 @@ Rectangle {
 
         // Avoid binding loop
         onViewWidthChanged: {
-            gridView.cellWidth = viewWidth / 3;
+            gridView.cellWidth = Math.max( viewWidth / 3, 50 );
         }
     }
 }



More information about the Vlmc-devel mailing list