Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.5.0 Beta
-
None
-
Tested on iOS simulator and iPad2
Description
The following code renders the svg image twice as big as it should on iOS (it is well centered bug bigger than the window).
Removing the Image.PreserveAspectFit property makes the image rendered properly.
Using a png image instead of svg works fine.
The same code runs fine on MacOSX, Linux, Android and Windows.
import QtQuick 2.4 import QtQuick.Window 2.2 Window { visible: true Image { source: "01_cat.svg" sourceSize.width: parent.width anchors.centerIn: parent fillMode: Image.PreserveAspectFit } }