mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-11 16:00:47 -07:00
Remove unnecessary setting height to 0 when invisible
Turns out that it doesn't count for the childrenRect.height anyway when the item is invisible. Contributes to issue CURA-5876.
This commit is contained in:
parent
024bf409c9
commit
5ba8820f18
2 changed files with 2 additions and 2 deletions
|
|
@ -17,7 +17,7 @@ Item
|
|||
}
|
||||
|
||||
width: parent.width
|
||||
height: visible ? childrenRect.height : 0
|
||||
height: childrenRect.height
|
||||
|
||||
Label
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue