1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-15 06:52:34 +02:00

Fix broken avatar width in Qt 5.14

This commit is contained in:
Elias Steurer 2019-10-28 18:36:47 +01:00
parent 9fc40fe3ec
commit 18184d1047

View File

@ -417,21 +417,24 @@ Item {
visible: false
anchors {
top: txtHeadline.bottom
topMargin: 20
topMargin: 0
right: parent.right
rightMargin: 20
}
sourceSize: Qt.size(120, 120)
sourceSize: Qt.size(width, height)
}
Image {
id: mask
source: "qrc:/assets/images/mask_round.svg"
sourceSize: Qt.size(parent.width, parent.height)
sourceSize: Qt.size(width, height)
smooth: true
width: 120
height: 120
visible: false
}
OpacityMask {
id: opacityMask
anchors.fill: imgLogoHead
source: imgLogoHead
maskSource: mask