From 37502b86e6d1e9ee24afd6c129bdeb75c16f67fe Mon Sep 17 00:00:00 2001 From: Luciano Montanaro Date: Thu, 26 Sep 2013 00:34:46 +0200 Subject: [PATCH] Fix error reporting in the station page The error display is still pretty basic, but it is a start --- .../resources/harmattan/qml/StationPage.qml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/application/resources/harmattan/qml/StationPage.qml b/application/resources/harmattan/qml/StationPage.qml index 8ba29e4..14acf25 100644 --- a/application/resources/harmattan/qml/StationPage.qml +++ b/application/resources/harmattan/qml/StationPage.qml @@ -90,14 +90,16 @@ Page { anchors.centerIn: parent spacing: UiConstants.DefaultMargin Text { - text: qsTr("Error") + text: qsTr("Error!") + width: parent.width font.pixelSize: UiConstants.HeaderFontPixelSize font.bold: UiConstants.HeaderFontBoldness horizontalAlignment: Text.AlignHCenter } Text { text: schedule.error - font.pixelSize: UiConstants.DefaultFontBoldness + width: parent.width + font.pixelSize: UiConstants.HeaderFontPixelSize font.bold: UiConstants.DefaultFontBoldness horizontalAlignment: Text.AlignHCenter } @@ -140,11 +142,11 @@ Page { when: schedule.error PropertyChanges { target: stationScheduleView - visible: true + visible: false } PropertyChanges { target: errorDisplay - visible: false + visible: true } PropertyChanges { target: busyIndicator -- 1.7.9.5