Explorar o código

Move to AspectCrop from AspectFit; not respecting width

Change-Id: I893e17d86bf08ca5fb39ae94ec88438e1fbc7748
Donald Carr %!s(int64=9) %!d(string=hai) anos
pai
achega
e210dbf550
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)