X-Git-Url: https://www.flypig.org.uk/git/?p=harbour-pedalo.git;a=blobdiff_plain;f=qml%2Fpages%2FJourneyInfo.qml;fp=qml%2Fpages%2FJourneyInfo.qml;h=02cea45cba477b3cff5a3766effb10ee94e049bc;hp=01816029aa0c4ce78a8fe57a1de429a0bb9c833f;hb=5fc520bad80dccf9bf2e0f16552c9f2605417067;hpb=c0284f613fd20fdedc5ef60de9893c74601ede6d diff --git a/qml/pages/JourneyInfo.qml b/qml/pages/JourneyInfo.qml index 0181602..02cea45 100644 --- a/qml/pages/JourneyInfo.qml +++ b/qml/pages/JourneyInfo.qml @@ -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