CURA-5035 Added thumbnails and detail view

This commit is contained in:
Ian Paschal 2018-04-05 15:33:07 +02:00
parent 15b8d18da8
commit dc00156410
6 changed files with 187 additions and 18 deletions

View file

@ -26,6 +26,13 @@ Item
height: UM.Theme.getSize("toolbox_thumbnail_small").height
color: "white"
border.width: 1
Image {
anchors.centerIn: parent
width: UM.Theme.getSize("toolbox_thumbnail_small").width - 26
height: UM.Theme.getSize("toolbox_thumbnail_small").height - 26
fillMode: Image.PreserveAspectFit
source: model.icon_url || "../images/logobot.svg"
}
}
Column
{