Browse Source

Reduce size of web marketplace link button

Contributes to issue CURA-7071.
Ghostkeeper 5 years ago
parent
commit
1d110c2c33
1 changed files with 3 additions and 3 deletions
  1. 3 3
      plugins/Toolbox/resources/qml/components/ToolboxHeader.qml

+ 3 - 3
plugins/Toolbox/resources/qml/components/ToolboxHeader.qml

@@ -81,7 +81,7 @@ Item
     UM.TooltipArea
     {
         width: childrenRect.width;
-        height: childrenRect.height;
+        height: parent.height
         text: catalog.i18nc("@info:tooltip", "Go to Web Marketplace")
         anchors
         {
@@ -93,11 +93,11 @@ Item
         {
             id: cloudMarketplaceButton
             source: "../../images/shop.svg"
-            height: 45
+            height: parent.height / 2
             width: height
+            anchors.verticalCenter: parent.verticalCenter
             sourceSize.width: width
             sourceSize.height: height
-            //width: UM.Theme.getSize("toolbox_header_tab").width
             fillMode: Image.PreserveAspectFit
             MouseArea
             {