Răsfoiți Sursa

Move to AspectCrop from AspectFit; not respecting width

Change-Id: I893e17d86bf08ca5fb39ae94ec88438e1fbc7748
Donald Carr 9 ani în urmă
părinte
comite
e210dbf550
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      qml/common/ArtImage.qml

+ 1 - 1
qml/common/ArtImage.qml

@@ -3,7 +3,7 @@ import QtQuick 2.5
 Image {
     property var effect
 
-    fillMode: Image.PreserveAspectFit
+    fillMode: Image.PreserveAspectCrop
     source: imageModel.randomPicture()
     width: parent.width
     mirror: generalSettings.randomlyMirrorArt && (Math.random() < 0.5)