diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-02-09 21:15:55 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-02-10 08:02:56 -0800 |
commit | 4b3761861e963200a47f83dbd336d360240f6fb5 (patch) | |
tree | c6a7d1be01967bbd0f72b0f1c20efd73fc39d302 /mobile-widgets/qml/DiveSummary.qml | |
parent | 57024d188ca74de294393c4b4f2fee2c241752d2 (diff) | |
download | subsurface-4b3761861e963200a47f83dbd336d360240f6fb5.tar.gz |
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>
Diffstat (limited to 'mobile-widgets/qml/DiveSummary.qml')
-rw-r--r-- | mobile-widgets/qml/DiveSummary.qml | 4 |
1 files 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 { |