diff options
author | Ghostkeeper <rubend@tutanota.com> | 2019-03-29 15:32:05 +0300 |
---|---|---|
committer | Ghostkeeper <rubend@tutanota.com> | 2019-03-29 15:41:45 +0300 |
commit | 129c1ab3d4cd4c1dcfe103325af79798ade22f3f (patch) | |
tree | 6ca686bd555478cdb4078042640e6e1dff2b21c1 /resources/qml/WelcomePages/WelcomeContent.qml | |
parent | 3ca8ba421a4b3ddb1ad8278d3895d42d1139cd10 (diff) |
Fix welcome page buttons text not fitting
On some operating systems the text would not fit due to different font rendering. Also, after translation, it probably wouldn't fit either.
Usually we have the button size adjusting to the text inside it. The design didn't do this, either because it was too difficult to do in Zeplin, because the designer was lazy, or because the designer didn't know that this was the normal style in the rest of Cura. And the programmer took that over literally.
Contributes to issue CURA-6057.
Diffstat (limited to 'resources/qml/WelcomePages/WelcomeContent.qml')
-rw-r--r-- | resources/qml/WelcomePages/WelcomeContent.qml | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/resources/qml/WelcomePages/WelcomeContent.qml b/resources/qml/WelcomePages/WelcomeContent.qml index ed56dd36fd..bdaa0a0b48 100644 --- a/resources/qml/WelcomePages/WelcomeContent.qml +++ b/resources/qml/WelcomePages/WelcomeContent.qml @@ -57,8 +57,6 @@ Item anchors.horizontalCenter: parent.horizontalCenter anchors.margins: UM.Theme.getSize("welcome_pages_default_margin").width text: catalog.i18nc("@button", "Get started") - width: UM.Theme.getSize("welcome_pages_button").width - fixedWidthMode: true onClicked: base.showNextPage() } } |