Display overall statistics
[harbour-pedalo.git] / qml / pages / JourneyInfo.qml
index 0181602..02cea45 100644 (file)
@@ -39,18 +39,20 @@ Page {
     SilicaFlickable {
         id: journeyEditView
         anchors.fill: parent
-        contentHeight: journeyEditColumn.implicitHeight
+        contentHeight: journeyEditColumn.implicitHeight + headerItem.height
 
         VerticalScrollDecorator {}
 
+        PageHeader {
+            id: headerItem
+            title: journeyInfoPage.title
+        }
+
         Column {
             id: journeyEditColumn
             spacing: Theme.paddingLarge
-            width: parent.width
-
-            PageHeader {
-                title: journeyInfoPage.title
-            }
+            width: isPortrait ? parent.width : parent.width * 0.5
+            y: headerItem.height
 
             InfoRow {
                 id: startDate