mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-18 00:55:59 +08:00
Merge branch 'marketplace_redesign' into CURA-8585_marketplace_material_details
This commit is contained in:
commit
813bbb30e4
@ -176,13 +176,21 @@ Window
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FontMetrics
|
||||||
|
{
|
||||||
|
id: fontMetrics
|
||||||
|
font: UM.Theme.getFont("default")
|
||||||
|
}
|
||||||
|
|
||||||
Cura.TertiaryButton
|
Cura.TertiaryButton
|
||||||
{
|
{
|
||||||
text: catalog.i18nc("@info", "Search in the browser")
|
text: catalog.i18nc("@info", "Search in the browser")
|
||||||
iconSource: UM.Theme.getIcon("LinkExternal")
|
iconSource: UM.Theme.getIcon("LinkExternal")
|
||||||
visible: pageSelectionTabBar.currentItem.hasSearch
|
visible: pageSelectionTabBar.currentItem.hasSearch
|
||||||
isIconOnRightSide: true
|
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)
|
onClicked: content.item && Qt.openUrlExternally(content.item.searchInBrowserUrl)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user