Merge branch 'marketplace_redesign' into CURA-8585_marketplace_material_details

This commit is contained in:
Remco Burema 2021-12-01 14:08:20 +01:00
commit 813bbb30e4
No known key found for this signature in database
GPG key ID: 215C49431D43F98C

View file

@ -176,13 +176,21 @@ Window
}
}
FontMetrics
{
id: fontMetrics
font: UM.Theme.getFont("default")
}
Cura.TertiaryButton
{
text: catalog.i18nc("@info", "Search in the browser")
iconSource: UM.Theme.getIcon("LinkExternal")
visible: pageSelectionTabBar.currentItem.hasSearch
isIconOnRightSide: true
font: UM.Theme.getFont("default")
height: fontMetrics.height
textFont: fontMetrics.font
textColor: UM.Theme.getColor("text")
onClicked: content.item && Qt.openUrlExternally(content.item.searchInBrowserUrl)
}