mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 13:03:59 -06: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")
|
||||
}
|
||||
|
||||
Cura.SecondaryButton
|
||||
Label
|
||||
{
|
||||
id: signInButton
|
||||
anchors.left: createAccountButton.right
|
||||
anchors.verticalCenter: finishButton.verticalCenter
|
||||
anchors.margins: UM.Theme.getSize("welcome_pages_default_margin").width
|
||||
text: catalog.i18nc("@button", "Sign in")
|
||||
width: 80
|
||||
shadowEnabled: false
|
||||
color: "transparent"
|
||||
hoverColor: "transparent"
|
||||
textHoverColor: UM.Theme.getColor("primary")
|
||||
fixedWidthMode: true
|
||||
onClicked: Cura.API.account.login()
|
||||
color: UM.Theme.getColor("secondary_button_text")
|
||||
font: UM.Theme.getFont("medium")
|
||||
renderType: Text.NativeRendering
|
||||
|
||||
MouseArea
|
||||
{
|
||||
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