mobile/summary: expand refresh button

Buttons ignore the width of the enclosed label and base their width on the
illogically named implicitWidth instead.

Also translate the button text.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2020-02-09 21:15:55 -08:00
parent 57024d188c
commit 4b3761861e

View file

@ -82,8 +82,8 @@ Kirigami.ScrollablePage {
TemplateButton {
/* Replace by signals from the core in due course. */
text: "Refresh"
width: headerColumnWidth
text: qsTr("Refresh")
implicitWidth: headerColumnWidth
onClicked: reload()
}
TemplateComboBox {