mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-28 10:32:22 -04:00
Set faces to fit parent height
This commit is contained in:
parent
9c7a356032
commit
d1884c3b86
2 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue