Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2022-02-22 17:03:57 +0300
committerJaime van Kessel <nallath@gmail.com>2022-02-22 17:03:57 +0300
commit80f99b0a598bcd6b9cf5e39a3d6f25e219cad9c6 (patch)
tree3359e23e3aabf6f6adb28900da4df69467b082ab /plugins/Marketplace/resources
parent03a9f3e2ee280741e1047d2fe4f5082aaacc3cf7 (diff)
Fix positioning of marketplace searchbar
CURA-8762
Diffstat (limited to 'plugins/Marketplace/resources')
-rw-r--r--plugins/Marketplace/resources/qml/Marketplace.qml10
1 files changed, 2 insertions, 8 deletions
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