Render scalable favicons at a fixed size

This commit is contained in:
Brad Davis 2016-01-23 12:41:30 -08:00
parent e52e35df8c
commit 5fc43e7018

View file

@ -78,6 +78,7 @@ Window {
source: webview.icon;
x: (parent.height - height) / 2
y: (parent.width - width) / 2
sourceSize: Qt.size(width, height);
verticalAlignment: Image.AlignVCenter;
horizontalAlignment: Image.AlignHCenter
onSourceChanged: console.log("Icon url: " + source)