diff --git a/plugins/Toolbox/resources/qml/components/ToolboxDownloadsShowcase.qml b/plugins/Toolbox/resources/qml/components/ToolboxDownloadsShowcase.qml index 26d691ea8e..048ef937d1 100644 --- a/plugins/Toolbox/resources/qml/components/ToolboxDownloadsShowcase.qml +++ b/plugins/Toolbox/resources/qml/components/ToolboxDownloadsShowcase.qml @@ -31,18 +31,26 @@ Rectangle font: UM.Theme.getFont("large") renderType: Text.NativeRendering } - Label + UM.TooltipArea { - text: catalog.i18nc("@label", "Search materials") - width: parent.width - heading.width - height: contentHeight + width: childrenRect.width + height: childrenRect.height anchors.right: parent.right - horizontalAlignment: Text.AlignRight - elide: Text.ElideLeft - color: UM.Theme.getColor("text_medium") - font: UM.Theme.getFont("medium") - renderType: Text.NativeRendering - visible: toolbox.viewCategory === "material" + text: catalog.i18nc("@info:tooltip", "Go to Web Marketplace") + Label + { + text: "".arg(toolbox.getWebMarketplaceUrl("materials")) + catalog.i18nc("@label", "Search materials") + "" + width: contentWidth + height: contentHeight + horizontalAlignment: Text.AlignRight + font: UM.Theme.getFont("medium") + renderType: Text.NativeRendering + + linkColor: UM.Theme.getColor("text_link") + onLinkActivated: Qt.openUrlExternally(link) + + visible: toolbox.viewCategory === "material" + } } } Grid