mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-07 03:22:33 +01:00
Fix broken avatar width in Qt 5.14
This commit is contained in:
parent
9fc40fe3ec
commit
18184d1047
@ -417,21 +417,24 @@ Item {
|
|||||||
visible: false
|
visible: false
|
||||||
anchors {
|
anchors {
|
||||||
top: txtHeadline.bottom
|
top: txtHeadline.bottom
|
||||||
topMargin: 20
|
topMargin: 0
|
||||||
right: parent.right
|
right: parent.right
|
||||||
rightMargin: 20
|
rightMargin: 20
|
||||||
}
|
}
|
||||||
sourceSize: Qt.size(120, 120)
|
sourceSize: Qt.size(width, height)
|
||||||
}
|
}
|
||||||
Image {
|
Image {
|
||||||
id: mask
|
id: mask
|
||||||
source: "qrc:/assets/images/mask_round.svg"
|
source: "qrc:/assets/images/mask_round.svg"
|
||||||
sourceSize: Qt.size(parent.width, parent.height)
|
sourceSize: Qt.size(width, height)
|
||||||
smooth: true
|
smooth: true
|
||||||
|
width: 120
|
||||||
|
height: 120
|
||||||
visible: false
|
visible: false
|
||||||
}
|
}
|
||||||
|
|
||||||
OpacityMask {
|
OpacityMask {
|
||||||
|
id: opacityMask
|
||||||
anchors.fill: imgLogoHead
|
anchors.fill: imgLogoHead
|
||||||
source: imgLogoHead
|
source: imgLogoHead
|
||||||
maskSource: mask
|
maskSource: mask
|
||||||
|
Loading…
Reference in New Issue
Block a user