1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-08-31 20:23:30 +02:00

calloverlay: fix svg rendering for device selection checkboxes

Gitlab: #411
Change-Id: I5e9efb3a174e1e4cf8a2813ec0949dce28b3bdba
This commit is contained in:
Andreas Traczyk 2021-06-01 13:00:34 -04:00
parent 66a479f7b6
commit 9a71a6becb

View file

@ -222,8 +222,8 @@ ItemDelegate {
source: menuItem.ListView.isCurrentItem ?
"qrc:/images/icons/check_box-24px.svg" :
"qrc:/images/icons/check_box_outline_blank-24px.svg"
layer.enabled: true
layer.effect: ColorOverlay { color: "white" }
smooth: true
color: "white"
}
Text {
Layout.fillWidth: true
@ -241,10 +241,10 @@ ItemDelegate {
id: itemPopup
y: isVertical ?
-(implicitHeight - wrapper.height) / 2 :
-(implicitHeight - wrapper.height) / 2 - 18 :
-implicitHeight - 12
x: isVertical ?
-implicitWidth - 18 :
-implicitWidth - 12 :
-(implicitWidth - wrapper.width) / 2 - 18
implicitWidth: contentItem.implicitWidth