From: Luciano Montanaro Date: Sun, 10 Nov 2013 13:54:35 +0000 (+0100) Subject: Small improvements to the AboutPage layout X-Git-Tag: tags/0.6.1^2~6 X-Git-Url: http://vcs.maemo.org/git/?p=quandoparte;a=commitdiff_plain;h=a2d4804f7f3a5ba82081c5cac91d4586947ab828 Small improvements to the AboutPage layout --- diff --git a/application/resources/harmattan/qml/AboutPage.qml b/application/resources/harmattan/qml/AboutPage.qml index e7842c6..9ac022d 100644 --- a/application/resources/harmattan/qml/AboutPage.qml +++ b/application/resources/harmattan/qml/AboutPage.qml @@ -1,5 +1,5 @@ import QtQuick 1.1 -import com.nokia.meego 1.0 +import com.nokia.meego 1.1 import "uiconstants.js" as UiConstants Page { @@ -20,30 +20,38 @@ Page { qsTr("About Quando Parte") ] } - Label { + Flickable { anchors { top: header.bottom; left: parent.left; right: parent.right; margins: UiConstants.DefaultMargin } - wrapMode: Text.WordWrap - textFormat: Text.RichText - text: qsTr("

" + - "Quando Parte" + "

" +"

version ") + - settings.versionString + - qsTr("

" + - "

Copyright (c) 2010, 2011, 2012, 2013

" + - "

Luciano Montanaro " + - "(mikelima@cirulla.net)

" + - "

Licensed under the GNU Public License v2 or above

" + - "

Station geolocation data from " + - "OpenStreetMap

" + - "

Realtime train data from " + - "Viaggiatreno

"); - onLinkActivated: Qt.openUrlExternally(link) - } - LabelStyle { - id: labelStyle + Label { + anchors { + top: parent.top; + left: parent.left; + right: parent.right; + margins: UiConstants.DefaultMargin + } + wrapMode: Text.WordWrap + textFormat: Text.RichText + text: qsTr("

" + + "Quando Parte" + "

" +"

version ") + + settings.versionString + + qsTr("

" + + "

Copyright (c) 2010, 2011, 2012, 2013

" + + "

Luciano Montanaro " + + "(mikelima@cirulla.net)

" + + "

Licensed under the GNU Public License v2 or above

" + + "

Station geolocation data from " + + "OpenStreetMap

" + + "

Realtime train data from " + + "Viaggiatreno

"); + onLinkActivated: Qt.openUrlExternally(link) + } + LabelStyle { + id: labelStyle + } } }