summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Martin <notmart@gmail.com>2015-09-18 17:53:51 (GMT)
committerMarco Martin <notmart@gmail.com>2015-09-18 17:53:51 (GMT)
commit884b40287e3234e073727ca4ca01dd7fc4820ae5 (patch)
tree2b8d8c753fcc7aabd4947c6a2abaa019be6841c4
parent8d8665582c278f99d2627032ff3004c9c0c22569 (diff)
by default fit to page
-rw-r--r--mobile/app/package/contents/ui/FullScreenDelegate.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/mobile/app/package/contents/ui/FullScreenDelegate.qml b/mobile/app/package/contents/ui/FullScreenDelegate.qml
index 6dbab69..c4ecfae 100644
--- a/mobile/app/package/contents/ui/FullScreenDelegate.qml
+++ b/mobile/app/package/contents/ui/FullScreenDelegate.qml
@@ -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 {