mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 15:07:28 -06:00
Fix per-object setting categories hiding when folding them
When the categories were folded closed, they were suddenly hidden because then the settings' height became 0. Now it uses the actual height of the children regardless of whether they are visible or not, which makes them properly remain visible while closed. Contributes to issue CURA-548.
This commit is contained in:
parent
f05da7212a
commit
6e59f49bd5
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ Item {
|
|||
|
||||
width: parent.width;
|
||||
height: childrenRect.height;
|
||||
visible: model.visible && settingsColumn.height != 0 //If all children are hidden, the height is 0, and then the category header must also be hidden.
|
||||
visible: model.visible && settingsColumn.childrenHeight != 0 //If all children are hidden, the height is 0, and then the category header must also be hidden.
|
||||
|
||||
ToolButton {
|
||||
id: categoryHeader;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue