<commit_before>import QtQuick 2.0
import Sailfish.Silica 1.0

Item {
    property alias fromStationText: fromStation.text
    property alias date: dateValue.text
    property alias toStationText: toStation.text
    property alias time: timeValue.text

    property bool hasArrival: true
    property bool hasDep: true

    anchors.left: parent.left
    anchors.right: parent.right
    height: fromDate.height + toTime.height + Theme.paddingMedium

    Item {
        id: fromDate
        anchors.top: parent.top
        anchors.left: parent.left
        anchors.right: parent.right
        height: Theme.itemSizeSmall
        anchors.margins: Theme.paddingLarge
        Label{
            id:fromLabel
            anchors.left: parent.left
            anchors.top: parent.top
            text: qsTr("From")
            font.pixelSize: Theme.fontSizeSmall
            color: Theme.highlightColor
            visible: hasDep
        }

        Label{
            id:fromStation
            anchors.left: parent.left
            anchors.top: fromLabel.bottom
            font.pixelSize: Theme.fontSizeLarge
            width: parent.width * 0.75
            elide: Text.ElideRight
        }

        Label{
            id:dateLabel
            anchors.right: parent.right
            anchors.top: parent.top
            text: qsTr("Date")
            font.pixelSize: Theme.fontSizeSmall
            color: Theme.highlightColor
        }

        Label{
            id:dateValue
            anchors.right: parent.right
            anchors.top: dateLabel.bottom
            font.pixelSize: Theme.fontSizeLarge
        }
    }

    Item{
        id:toTime
        anchors.top: fromDate.bottom
        anchors.left: parent.left
        anchors.right: parent.right
        height: Theme.itemSizeSmall
        anchors.rightMargin: Theme.paddingLarge
        anchors.leftMargin: Theme.paddingLarge
        Label{
            id:toLabel
            anchors.left: parent.left
            anchors.top: parent.top
            text: qsTr("To")
            font.pixelSize: Theme.fontSizeSmall
            color: Theme.highlightColor
            visible: hasArrival
        }

        Label{
            id:toStation
            anchors.left: parent.left
            anchors.top: toLabel.bottom
            font.pixelSize: Theme.fontSizeLarge
            width: parent.width * 0.75
            elide: Text.ElideRight
        }

        Label{
            id:timeLabel
            anchors.right: parent.right
            anchors.top: parent.top
            text: qsTr("Time")
            font.pixelSize: Theme.fontSizeSmall
            color: Theme.highlightColor
        }

        Label{
            id:timeValue
            anchors.right: parent.right
            anchors.top: timeLabel.bottom
            font.pixelSize: Theme.fontSizeLarge
        }
    }
}
<commit_msg>Use default font size in OverviewHeader<commit_after>import QtQuick 2.0
import Sailfish.Silica 1.0

Item {
    property alias fromStationText: fromStation.text
    property alias date: dateValue.text
    property alias toStationText: toStation.text
    property alias time: timeValue.text

    property bool hasArrival: true
    property bool hasDep: true

    anchors.left: parent.left
    anchors.right: parent.right
    height: fromDate.height + toTime.height + Theme.paddingMedium

    Item {
        id: fromDate
        anchors.top: parent.top
        anchors.left: parent.left
        anchors.right: parent.right
        height: Theme.itemSizeSmall
        anchors.margins: Theme.paddingLarge
        Label{
            id:fromLabel
            anchors.left: parent.left
            anchors.top: parent.top
            text: qsTr("From")
            font.pixelSize: Theme.fontSizeSmall
            color: Theme.highlightColor
            visible: hasDep
        }

        Label{
            id:fromStation
            anchors.left: parent.left
            anchors.top: fromLabel.bottom
            width: parent.width * 0.75
            elide: Text.ElideRight
        }

        Label{
            id:dateLabel
            anchors.right: parent.right
            anchors.top: parent.top
            text: qsTr("Date")
            font.pixelSize: Theme.fontSizeSmall
            color: Theme.highlightColor
        }

        Label{
            id:dateValue
            anchors.right: parent.right
            anchors.top: dateLabel.bottom
        }
    }

    Item{
        id:toTime
        anchors.top: fromDate.bottom
        anchors.left: parent.left
        anchors.right: parent.right
        height: Theme.itemSizeSmall
        anchors.rightMargin: Theme.paddingLarge
        anchors.leftMargin: Theme.paddingLarge
        Label{
            id:toLabel
            anchors.left: parent.left
            anchors.top: parent.top
            text: qsTr("To")
            font.pixelSize: Theme.fontSizeSmall
            color: Theme.highlightColor
            visible: hasArrival
        }

        Label{
            id:toStation
            anchors.left: parent.left
            anchors.top: toLabel.bottom
            width: parent.width * 0.75
            elide: Text.ElideRight
        }

        Label{
            id:timeLabel
            anchors.right: parent.right
            anchors.top: parent.top
            text: qsTr("Time")
            font.pixelSize: Theme.fontSizeSmall
            color: Theme.highlightColor
        }

        Label{
            id:timeValue
            anchors.right: parent.right
            anchors.top: timeLabel.bottom
        }
    }
}

{'fraction_non_alphanumeric': 0.07173756308579668, 'fraction_numerical': 0.003604902667627974, 'mean_word_length': 1.5524379024839006, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6260892', 'n_tokens_mistral': 1534, 'n_tokens_neox': 1490, 'n_words': 317}