Fix dpi scaling

This commit is contained in:
fieldOfView 2018-05-02 17:54:48 +02:00
parent ecbfae2f27
commit d326e91008
2 changed files with 4 additions and 4 deletions

View file

@ -34,8 +34,8 @@ Item
Image
{
anchors.centerIn: parent
width: UM.Theme.getSize("toolbox_thumbnail_small").width - 26
height: UM.Theme.getSize("toolbox_thumbnail_small").height - 26
width: UM.Theme.getSize("toolbox_thumbnail_small").width - UM.Theme.getSize("default_margin").width
height: UM.Theme.getSize("toolbox_thumbnail_small").height - UM.Theme.getSize("default_margin").width
fillMode: Image.PreserveAspectFit
source: model.icon_url || "../images/logobot.svg"
mipmap: true