diff --git a/plugins/Marketplace/resources/qml/Marketplace.qml b/plugins/Marketplace/resources/qml/Marketplace.qml index 24e73e9f87..84e5b61dcf 100644 --- a/plugins/Marketplace/resources/qml/Marketplace.qml +++ b/plugins/Marketplace/resources/qml/Marketplace.qml @@ -126,7 +126,7 @@ Window TabBar { id: pageSelectionTabBar - anchors.right: parent.right + Layout.alignment: Qt.AlignRight height: UM.Theme.getSize("button_icon").height spacing: 0 background: Rectangle { color: "transparent" } diff --git a/plugins/Marketplace/resources/qml/OnboardBanner.qml b/plugins/Marketplace/resources/qml/OnboardBanner.qml index f77f8bee97..25e4b53241 100644 --- a/plugins/Marketplace/resources/qml/OnboardBanner.qml +++ b/plugins/Marketplace/resources/qml/OnboardBanner.qml @@ -17,12 +17,8 @@ Rectangle property string readMoreUrl Layout.preferredHeight: childrenRect.height + 2 * UM.Theme.getSize("default_margin").height - anchors - { - margins: UM.Theme.getSize("default_margin").width - left: parent.left - right: parent.right - } + Layout.fillWidth: true + Layout.margins: UM.Theme.getSize("default_margin").width color: UM.Theme.getColor("action_panel_secondary")