mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Use Label for SignIn button
This commit is contained in:
parent
2f33beff36
commit
a2c2424d69
1 changed files with 14 additions and 8 deletions
|
|
@ -120,18 +120,24 @@ Item
|
||||||
onClicked: Qt.openUrlExternally(CuraApplication.ultimakerCloudAccountRootUrl + "/app/create")
|
onClicked: Qt.openUrlExternally(CuraApplication.ultimakerCloudAccountRootUrl + "/app/create")
|
||||||
}
|
}
|
||||||
|
|
||||||
Cura.SecondaryButton
|
Label
|
||||||
{
|
{
|
||||||
id: signInButton
|
id: signInButton
|
||||||
anchors.left: createAccountButton.right
|
anchors.left: createAccountButton.right
|
||||||
anchors.verticalCenter: finishButton.verticalCenter
|
anchors.verticalCenter: finishButton.verticalCenter
|
||||||
|
anchors.margins: UM.Theme.getSize("welcome_pages_default_margin").width
|
||||||
text: catalog.i18nc("@button", "Sign in")
|
text: catalog.i18nc("@button", "Sign in")
|
||||||
width: 80
|
color: UM.Theme.getColor("secondary_button_text")
|
||||||
shadowEnabled: false
|
font: UM.Theme.getFont("medium")
|
||||||
color: "transparent"
|
renderType: Text.NativeRendering
|
||||||
hoverColor: "transparent"
|
|
||||||
textHoverColor: UM.Theme.getColor("primary")
|
MouseArea
|
||||||
fixedWidthMode: true
|
{
|
||||||
onClicked: Cura.API.account.login()
|
anchors.fill: parent
|
||||||
|
hoverEnabled: true
|
||||||
|
onClicked: Cura.API.account.login()
|
||||||
|
onEntered: parent.font.underline = true
|
||||||
|
onExited: parent.font.underline = false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue