mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 08:09:00 +08: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
@ -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…
x
Reference in New Issue
Block a user