mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-22 10:21:39 -07:00
Removes the little square panel thing for the per-object-settings
Contributes to: issue CURA-181
This commit is contained in:
parent
781ab5fdca
commit
662dde077b
1 changed files with 8 additions and 1 deletions
|
|
@ -68,7 +68,14 @@ Item {
|
||||||
anchors.left: parent.right;
|
anchors.left: parent.right;
|
||||||
y: base.activeY
|
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;
|
height: panel.item ? panel.height + 2 * UM.Theme.sizes.default_margin.height : 0;
|
||||||
|
|
||||||
opacity: panel.item ? 1 : 0
|
opacity: panel.item ? 1 : 0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue