mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Make entire tooltip area clickable
Also saves on another component. And it's more logical, easier to use and fault-tolerant. Contributes to issue CURA-7071.
This commit is contained in:
parent
1d110c2c33
commit
e6856b02a4
1 changed files with 2 additions and 6 deletions
|
@ -80,7 +80,7 @@ Item
|
|||
|
||||
UM.TooltipArea
|
||||
{
|
||||
width: childrenRect.width;
|
||||
width: childrenRect.width
|
||||
height: parent.height
|
||||
text: catalog.i18nc("@info:tooltip", "Go to Web Marketplace")
|
||||
anchors
|
||||
|
@ -89,6 +89,7 @@ Item
|
|||
rightMargin: UM.Theme.getSize("default_margin").width
|
||||
verticalCenter: parent.verticalCenter
|
||||
}
|
||||
onClicked: Qt.openUrlExternally(toolbox.getWebMarketplaceUrl)
|
||||
Image
|
||||
{
|
||||
id: cloudMarketplaceButton
|
||||
|
@ -99,11 +100,6 @@ Item
|
|||
sourceSize.width: width
|
||||
sourceSize.height: height
|
||||
fillMode: Image.PreserveAspectFit
|
||||
MouseArea
|
||||
{
|
||||
anchors.fill: parent
|
||||
onClicked: Qt.openUrlExternally(toolbox.getWebMarketplaceUrl)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue