import QtQuick 2.12
import QtQuick.Controls 2.12 as Controls

import Palette 1.0

Controls.TextField {
    id: control

    horizontalAlignment: Text.AlignHCenter
    verticalAlignment: Text.AlignVCenter

    topPadding: 10
    bottomPadding: 10
    leftPadding: 24
    rightPadding: 24

    font.family: "Roboto"
    font.pixelSize: 40
    font.weight: Font.Bold

    color: Palette.labelTextColor
    property color backgroundColor: Palette.indicatorBackgroundColor
    property int backgroundRadius: 24

    background: Rectangle {
        color: backgroundColor
        radius: backgroundRadius
    }
}
