diff options
author | Ghostkeeper <rubend@tutanota.com> | 2022-05-09 12:59:00 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2022-05-09 15:22:44 +0300 |
commit | 815a0b4014af27af6906c78ec9d5162e169cfbdb (patch) | |
tree | e6d99bdc1031bc19fb36031b5dfd963ec277c610 /resources/qml | |
parent | f483f04763ebbb119397c8bfdb00c3893d95e6fa (diff) |
Make buttons in account fill the whole width
That makes them easier to click.
The text of these buttons was going outside of the buttons themselves. That could be a problem, but it's not visible since the button has no background.
Contributes to issue CURA-9143.
Diffstat (limited to 'resources/qml')
-rw-r--r-- | resources/qml/Account/UserOperations.qml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/resources/qml/Account/UserOperations.qml b/resources/qml/Account/UserOperations.qml index c8642681ae..9e5d082738 100644 --- a/resources/qml/Account/UserOperations.qml +++ b/resources/qml/Account/UserOperations.qml @@ -90,8 +90,9 @@ Column Cura.TertiaryButton { id: cloudButton - width: UM.Theme.getSize("account_button").width + width: parent.width height: UM.Theme.getSize("account_button").height + text: "Ultimaker Digital Factory" onClicked: Qt.openUrlExternally(CuraApplication.ultimakerDigitalFactoryUrl + "?utm_source=cura&utm_medium=software&utm_campaign=menu-visit-DF") fixedWidthMode: false @@ -100,8 +101,9 @@ Column Cura.TertiaryButton { id: accountButton - width: UM.Theme.getSize("account_button").width + width: parent.width height: UM.Theme.getSize("account_button").height + text: catalog.i18nc("@button", "Ultimaker Account") onClicked: Qt.openUrlExternally(CuraApplication.ultimakerCloudAccountRootUrl + "?utm_source=cura&utm_medium=software&utm_campaign=menu-visit-account") fixedWidthMode: false @@ -117,7 +119,11 @@ Column Cura.TertiaryButton { id: signOutButton + width: parent.width + height: UM.Theme.getSize("account_button").height + onClicked: Cura.API.account.logout() text: catalog.i18nc("@button", "Sign Out") + fixedWidthMode: false } } |