Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.8.2
-
None
Description
Here's example with Button, screenshot and code
I have two buttons with icon and text, first normal and second rendered 3x bigger (my iPhone's pixel ratio) and then downscaled to normal size. Second one's icon looks sharp as expected
import QtQuick import QtQuick.Controls import QtQuick.Controls.impl Window { visible: true Column { anchors.centerIn: parent Button { icon.name: "chevron.left" icon.height: 10 icon.width: 10 text: "go home(" font.pixelSize: 20 } Button { scale: 1/Screen.devicePixelRatio transformOrigin: Item.TopLeft icon.name: "chevron.left" icon.height: 10*Screen.devicePixelRatio icon.width: 10*Screen.devicePixelRatio text: "go home(" font.pixelSize: 20*Screen.devicePixelRatio } } }