Removes the little square panel thing for the per-object-settings

Contributes to: issue CURA-181
This commit is contained in:
Tamara Hogenhout 2015-09-22 17:31:47 +02:00
parent 781ab5fdca
commit 662dde077b

View file

@ -68,7 +68,14 @@ Item {
anchors.left: parent.right;
y: base.activeY
width: panel.item ? Math.max(panel.width + 2 * UM.Theme.sizes.default_margin.width) : 0;
width: {
if (panel.item && panel.width > 0){
return Math.max(panel.width + 2 * UM.Theme.sizes.default_margin.width)
}
else {
return 0
}
}
height: panel.item ? panel.height + 2 * UM.Theme.sizes.default_margin.height : 0;
opacity: panel.item ? 1 : 0