mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
Render scalable favicons at a fixed size
This commit is contained in:
parent
e52e35df8c
commit
5fc43e7018
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue