diff options
author | Marvin Borner | 2020-04-07 23:26:23 +0200 |
---|---|---|
committer | Marvin Borner | 2020-04-07 23:26:23 +0200 |
commit | b21cf008af104e0d7dd470f93430a02137b0822f (patch) | |
tree | c06b463bdab847a5b2f65a9e79014a0708f9b480 /qml | |
parent | 18805982a81fb3d956f8e3ebd5e9f63cdbc7f110 (diff) |
VERY small fixes in the leaderboard
Diffstat (limited to 'qml')
-rw-r--r-- | qml/pages/LeaderBoard.qml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/qml/pages/LeaderBoard.qml b/qml/pages/LeaderBoard.qml index 62d4f89..1c1fb33 100644 --- a/qml/pages/LeaderBoard.qml +++ b/qml/pages/LeaderBoard.qml @@ -41,6 +41,7 @@ Page { list.model = JSON.parse(xhr.responseText); internet.visible = false; } else { + list.model = [] internet.visible = true; } } @@ -85,9 +86,10 @@ Page { visible: false } - ListView { + SilicaListView { id: list clip: true + quickScroll: true width: page.width height: page.height - y model: [] @@ -120,7 +122,7 @@ Page { Label { anchors.top: level.bottom - text: (((modelData.end_time[1] - modelData.start_time[1]) / 1000) + 1.0) + qsTr("s - Help: ") + modelData.cheats + text: (((modelData.end_time[1] - modelData.start_time[1]) / 1000) + 1.0).toFixed(3) + qsTr("s - Help: ") + modelData.cheats font.pixelSize: Theme.fontSizeExtraSmall } } |