mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-10 23:35:07 -06: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
|
@ -10,7 +10,7 @@ import Cura 1.0 as Cura
|
|||
Item
|
||||
{
|
||||
width: parent.width
|
||||
height: visible ? childrenRect.height : 0
|
||||
height: childrenRect.height
|
||||
|
||||
Label
|
||||
{
|
||||
|
|
|
@ -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