Browse Source

Fix marketplace external link button being tiny.

CURA-9194
j.delarago 2 years ago
parent
commit
16bb9952c7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      plugins/Marketplace/resources/qml/PackageCardHeader.qml

+ 2 - 2
plugins/Marketplace/resources/qml/PackageCardHeader.qml

@@ -119,8 +119,8 @@ Item
                 topPadding: UM.Theme.getSize("narrow_margin").width
                 bottomPadding: UM.Theme.getSize("narrow_margin").width
 
-                Layout.preferredWidth: UM.Theme.getSize("card_tiny_icon").width + 2 * padding
-                Layout.preferredHeight: UM.Theme.getSize("card_tiny_icon").width + 2 * padding
+                width: UM.Theme.getSize("card_tiny_icon").width + 2 * padding
+                height: UM.Theme.getSize("card_tiny_icon").width + 2 * padding
                 contentItem: UM.ColorImage
                 {
                     source: UM.Theme.getIcon("LinkExternal")