From 4b3761861e963200a47f83dbd336d360240f6fb5 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 9 Feb 2020 21:15:55 -0800 Subject: 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 --- mobile-widgets/qml/DiveSummary.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mobile-widgets/qml/DiveSummary.qml b/mobile-widgets/qml/DiveSummary.qml index bf206cc3e..ef8892976 100644 --- a/mobile-widgets/qml/DiveSummary.qml +++ b/mobile-widgets/qml/DiveSummary.qml @@ -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 { -- cgit v1.2.3-70-g09d2