Fix height of search bar

Because this item is in a layout, the height gets overridden. We should use the preferredHeight, or the one it defaults to, implicitHeight.

Contributes to issue CURA-8009.
This commit is contained in:
Ghostkeeper 2021-07-13 16:02:29 +02:00
parent bec83920e4
commit 7fdf1dbdd4
No known key found for this signature in database
GPG key ID: 68F39EA88EEED5FF

View file

@ -47,7 +47,7 @@ Item
{
id: searchBar
Layout.fillWidth: true
height: createNewProjectButton.height
implicitHeight: createNewProjectButton.height
onTextEdited: manager.projectFilter = text //Update the search filter when editing this text field.