Commit 884b4028 authored by Marco Martin's avatar Marco Martin
Browse files

by default fit to page

parent 8d866558
......@@ -204,9 +204,10 @@ MouseEventListener {
x: Math.round((parent.width - width) / 2)
y: Math.round((parent.height - height) / 2)
width: implicitWidth
height: implicitHeight
width: root.width
height: width / ratio
}
}
}
Image {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment