mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 03:07:53 -06:00
Use contentLoader.item to determine height
CURA-6435
This commit is contained in:
parent
a5259ce22e
commit
b68b154e59
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ Item
|
|||
anchors.left: header.left
|
||||
anchors.right: header.right
|
||||
// Add 2x lining, because it needs a bit of space on the top and the bottom.
|
||||
height: contentLoader.height + 2 * UM.Theme.getSize("thick_lining").height
|
||||
height: contentLoader.item.height + 2 * UM.Theme.getSize("thick_lining").height
|
||||
|
||||
border.width: UM.Theme.getSize("default_lining").width
|
||||
border.color: UM.Theme.getColor("lining")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue