Theme welcome_pages_button

This commit is contained in:
Lipu Fei 2019-03-21 16:01:50 +01:00
parent 570b6b9804
commit c3175e5322
8 changed files with 12 additions and 10 deletions

View file

@ -127,7 +127,7 @@ Item
}
text: catalog.i18nc("@button", "Next")
width: 140
width: UM.Theme.getSize("welcome_pages_button").width
fixedWidthMode: true
onClicked:
{

View file

@ -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"

View file

@ -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()
}

View file

@ -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:
{

View file

@ -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:
{

View file

@ -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()
}

View file

@ -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()
}