18
import QtQuick.Window 2.2
22
source: "image://unity8imagecache/" + Qt.resolvedUrl("graphics/paper.png")
23
fillMode: Image.PreserveAspectCrop
24
horizontalAlignment: Image.AlignRight
25
verticalAlignment: Image.AlignTop
26
// avoid CPU scaling when window size changes
27
readonly property int maxSize: Math.max(Screen.width, Screen.height)
28
sourceSize.width: maxSize