From: Luciano Montanaro Date: Wed, 25 Sep 2013 22:34:46 +0000 (+0200) Subject: Fix error reporting in the station page X-Git-Tag: tags/0.6.0~28 X-Git-Url: http://git.maemo.org/git/?p=quandoparte;a=commitdiff_plain;h=37502b86e6d1e9ee24afd6c129bdeb75c16f67fe Fix error reporting in the station page The error display is still pretty basic, but it is a start --- 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