From 80f99b0a598bcd6b9cf5e39a3d6f25e219cad9c6 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Tue, 22 Feb 2022 15:03:57 +0100 Subject: Fix positioning of marketplace searchbar CURA-8762 --- plugins/Marketplace/resources/qml/Marketplace.qml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'plugins/Marketplace/resources') diff --git a/plugins/Marketplace/resources/qml/Marketplace.qml b/plugins/Marketplace/resources/qml/Marketplace.qml index fc6d3cd755..a2ffd9fa25 100644 --- a/plugins/Marketplace/resources/qml/Marketplace.qml +++ b/plugins/Marketplace/resources/qml/Marketplace.qml @@ -98,20 +98,14 @@ Window Item { Layout.preferredHeight: childrenRect.height - Layout.preferredWidth: parent.width - 2 * UM.Theme.getSize("thin_margin").width + Layout.preferredWidth: parent.width - 2 * UM.Theme.getSize("default_margin").width + Layout.alignment: Qt.AlignHCenter RowLayout { width: parent.width height: UM.Theme.getSize("button_icon").height + UM.Theme.getSize("default_margin").height spacing: UM.Theme.getSize("thin_margin").width - Item - { - Layout.preferredHeight: parent.height - Layout.preferredWidth: searchBar.visible ? UM.Theme.getSize("thin_margin").width : 0 - Layout.fillWidth: ! searchBar.visible - } - Cura.SearchBar { id: searchBar -- cgit v1.2.3