mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-23 14:19:37 +08:00
Use contentLoader.item to determine height
CURA-6435
This commit is contained in:
parent
a5259ce22e
commit
b68b154e59
@ -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…
x
Reference in New Issue
Block a user