From 74193ffff9ca6bb496c1ffe6de298d3544ac3a6c Mon Sep 17 00:00:00 2001 From: 10r3n20 Date: Tue, 16 Nov 2021 11:29:48 +0100 Subject: [PATCH] moved padding to PackageTybeTab and replaced default margin with narrow margin --- plugins/Marketplace/resources/qml/ManagePackagesButton.qml | 1 - plugins/Marketplace/resources/qml/Marketplace.qml | 2 -- plugins/Marketplace/resources/qml/PackageTypeTab.qml | 1 + 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/Marketplace/resources/qml/ManagePackagesButton.qml b/plugins/Marketplace/resources/qml/ManagePackagesButton.qml index 31b97d89ed..8d64b27609 100644 --- a/plugins/Marketplace/resources/qml/ManagePackagesButton.qml +++ b/plugins/Marketplace/resources/qml/ManagePackagesButton.qml @@ -20,7 +20,6 @@ Button color: backgroundColor border.color: transparent radius: Math.round(width * 0.5) - } Cura.ToolTip diff --git a/plugins/Marketplace/resources/qml/Marketplace.qml b/plugins/Marketplace/resources/qml/Marketplace.qml index 430c237252..93d616209b 100644 --- a/plugins/Marketplace/resources/qml/Marketplace.qml +++ b/plugins/Marketplace/resources/qml/Marketplace.qml @@ -100,14 +100,12 @@ Window PackageTypeTab { width: implicitWidth - padding: UM.Theme.getSize("default_margin").width/2 text: catalog.i18nc("@button", "Plugins") onClicked: content.source = "Plugins.qml" } PackageTypeTab { width: implicitWidth - padding: Math.round(UM.Theme.getSize("default_margin").width / 2) text: catalog.i18nc("@button", "Materials") onClicked: content.source = "Materials.qml" } diff --git a/plugins/Marketplace/resources/qml/PackageTypeTab.qml b/plugins/Marketplace/resources/qml/PackageTypeTab.qml index 31fbabc294..6f54932c07 100644 --- a/plugins/Marketplace/resources/qml/PackageTypeTab.qml +++ b/plugins/Marketplace/resources/qml/PackageTypeTab.qml @@ -8,6 +8,7 @@ import UM 1.0 as UM TabButton { property string pageTitle + padding: UM.Theme.getSize("narrow_margin").width background: Rectangle {