@@ -15,12 +15,16 @@
1515 */
1616
1717import QtQuick 2.4
18+import QtQuick.Window 2.2
19+import Ubuntu.Thumbnailer 0.1
1820
1921Image {
20− source: anchors.fill.width > anchors.fill.height ? "graphics/paper_landscape.png" : "graphics/paper_portrait.png"
22+ source: "image://thumbnailer/" + Qt.resolvedUrl("graphics/paper.png")
2123 fillMode: Image.PreserveAspectCrop
2224 horizontalAlignment: Image.AlignRight
2325 verticalAlignment: Image.AlignTop
24− sourceSize.width: anchors.fill.width
26+ // avoid CPU scaling when window size changes
27+ readonly property int maxSize: Math.max(Screen.width, Screen.height)
28+ sourceSize.width: maxSize
2529 sourceSize.height: 0
2630}