Remove the component IconLabel since we have a similar one in IconWithText

Contributes to CURA-5941.
This commit is contained in:
Diego Prado Gesto 2018-12-07 11:43:41 +01:00
parent 8f0d8c7d25
commit 898fd25ddb
6 changed files with 7 additions and 59 deletions

View file

@ -13,9 +13,11 @@ import Cura 1.0 as Cura
// It sets the icon size + half of the content as its minium width (in which case it will elide the text)
Item
{
property alias iconColor: icon.color
property alias source: icon.source
property alias iconSize: icon.width
property alias color: label.color
property alias text: label.text
property alias font: label.font
property real margin: UM.Theme.getSize("narrow_margin").width
@ -37,7 +39,7 @@ Item
width: UM.Theme.getSize("section_icon").width
height: UM.Theme.getSize("section_icon").height
color: "black"
color: label.color
anchors
{