mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 08:09:03 +08:00
Theme welcome_pages_button
This commit is contained in:
parent
570b6b9804
commit
c3175e5322
@ -127,7 +127,7 @@ Item
|
||||
}
|
||||
|
||||
text: catalog.i18nc("@button", "Next")
|
||||
width: 140
|
||||
width: UM.Theme.getSize("welcome_pages_button").width
|
||||
fixedWidthMode: true
|
||||
onClicked:
|
||||
{
|
||||
|
@ -85,7 +85,7 @@ Item
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.margins: 40
|
||||
text: catalog.i18nc("@button", "Finish")
|
||||
width: 140
|
||||
width: UM.Theme.getSize("welcome_pages_button").width
|
||||
fixedWidthMode: true
|
||||
onClicked: base.showNextPage()
|
||||
}
|
||||
@ -97,7 +97,7 @@ Item
|
||||
anchors.verticalCenter: finishButton.verticalCenter
|
||||
anchors.margins: 40
|
||||
text: catalog.i18nc("@button", "Create an account")
|
||||
width: 140
|
||||
width: UM.Theme.getSize("welcome_pages_button").width
|
||||
fixedWidthMode: true
|
||||
onClicked: Qt.openUrlExternally(CuraApplication.ultimakerCloudAccountRootUrl + "/app/create")
|
||||
}
|
||||
@ -108,7 +108,7 @@ Item
|
||||
anchors.left: createAccountButton.right
|
||||
anchors.verticalCenter: finishButton.verticalCenter
|
||||
text: catalog.i18nc("@button", "Sign in")
|
||||
width: 80
|
||||
width: UM.Theme.getSize("welcome_pages_button").width
|
||||
shadowEnabled: false
|
||||
color: "transparent"
|
||||
hoverColor: "transparent"
|
||||
|
@ -62,7 +62,7 @@ Item
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.margins: 40
|
||||
text: catalog.i18nc("@button", "Next")
|
||||
width: 140
|
||||
width: UM.Theme.getSize("welcome_pages_button").width
|
||||
fixedWidthMode: true
|
||||
onClicked: base.showNextPage()
|
||||
}
|
||||
|
@ -72,7 +72,7 @@ Item
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.margins: 40
|
||||
text: catalog.i18nc("@button", "Next")
|
||||
width: 140
|
||||
width: UM.Theme.getSize("welcome_pages_button").width
|
||||
fixedWidthMode: true
|
||||
onClicked:
|
||||
{
|
||||
|
@ -60,7 +60,7 @@ Item
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.margins: 40
|
||||
text: catalog.i18nc("@button", "Agree")
|
||||
width: 140
|
||||
width: UM.Theme.getSize("welcome_pages_button").width
|
||||
fixedWidthMode: true
|
||||
onClicked:
|
||||
{
|
||||
@ -77,7 +77,7 @@ Item
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.margins: 40
|
||||
text: catalog.i18nc("@button", "Decline and close")
|
||||
width: 140
|
||||
width: UM.Theme.getSize("welcome_pages_button").width
|
||||
fixedWidthMode: true
|
||||
onClicked:
|
||||
{
|
||||
|
@ -59,7 +59,7 @@ Column
|
||||
id: getStartedButton
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
text: catalog.i18nc("@button", "Get started")
|
||||
width: 140
|
||||
width: UM.Theme.getSize("welcome_pages_button").width
|
||||
fixedWidthMode: true
|
||||
onClicked: base.showNextPage()
|
||||
}
|
||||
|
@ -78,7 +78,7 @@ Item
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.margins: 40
|
||||
text: catalog.i18nc("@button", "Next")
|
||||
width: 140
|
||||
width: UM.Theme.getSize("welcome_pages_button").width
|
||||
fixedWidthMode: true
|
||||
onClicked: base.showNextPage()
|
||||
}
|
||||
|
@ -509,6 +509,8 @@
|
||||
"button_icon": [2.5, 2.5],
|
||||
"button_lining": [0, 0],
|
||||
|
||||
"welcome_pages_button": [12.0, 2.5],
|
||||
|
||||
"action_button": [15.0, 2.5],
|
||||
"action_button_icon": [1.0, 1.0],
|
||||
"action_button_radius": [0.15, 0.15],
|
||||
|
Loading…
x
Reference in New Issue
Block a user