mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Set faces to fit parent height
This commit is contained in:
parent
9c7a356032
commit
d1884c3b86
@ -142,6 +142,8 @@ Item
|
||||
{
|
||||
visible: !compRoot.has_avatar
|
||||
hash: compRoot.gxs_id
|
||||
anchors.fill: parent
|
||||
iconSize: parent.height
|
||||
}
|
||||
|
||||
MouseArea
|
||||
|
@ -24,7 +24,7 @@ Item
|
||||
{
|
||||
for (y = 0 ; y< nPieces ; y++)
|
||||
{
|
||||
ctx.drawImage(images[y], 0, 0 )
|
||||
ctx.drawImage(images[y], 0, 0, iconSize, iconSize )
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user