QML UI: don't shorten the buttons

I want a prettier visual for those, anyway, but artificially making them
shorter than that text they display seems silly - and causes the text to be
trunkated for no good reason on some devices.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-01-19 12:53:32 -08:00
parent 04e994b575
commit 88101e4dd3

View file

@ -9,7 +9,7 @@ Item {
anchors.fill: parent anchors.fill: parent
anchors.margins: MobileComponents.Units.gridUnit / 2 anchors.margins: MobileComponents.Units.gridUnit / 2
property int buttonWidth: welcomeText.width * 0.66 property int buttonWidth: welcomeText.width
MobileComponents.Heading { MobileComponents.Heading {
Layout.bottomMargin: MobileComponents.Units.largeSpacing Layout.bottomMargin: MobileComponents.Units.largeSpacing