import QtQuick 6.2
import QtQuick.Controls 6.2
import Tutorial
import QtQuick.Timeline 1.0
import QtQuick.Studio.Components 1.0

RectangleItem {
    id: description
    width: 715
    height: 395
    property alias text: longText.text
    property alias title: text1.text
    fillColor: "#1f265f"
    strokeWidth: 8
    topLeftBevel: true
    topLeftRadius: 50
    bottomRightRadius: 80
    bottomRightBevel: true
    strokeColor: "#dbd8d8"

    Text {
        id: text1
        x: 45
        y: 23
        color: "#ffffff"
        text: qsTr("Description")
        font.pixelSize: 64
        font.family: "Arial"
        font.bold: true
    }

    Text {
        id: longText
        x: 45
        y: 127
        width: 606
        height: 221
        color: "#cac7c7"
        text: qsTr("This is a long text to describe something")
        font.pixelSize: 42
        wrapMode: Text.WordWrap
        font.family: "Arial"
        font.bold: false
    }
}
