1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-07 03:22:33 +01:00
ScreenPlay/ScreenPlayUtil/qml/TextField.qml
Elias Steurer 6b30e3f242 Formatting
2023-06-11 10:07:39 +02:00

31 lines
664 B
QML

import QtQuick
import QtQuick.Window
import QtQuick.Controls.Material
import QtQuick.Controls
import QtQuick.Layouts
import ScreenPlayApp
import ScreenPlay
ColumnLayout {
id: root
implicitHeight: 70
implicitWidth: 150
property alias text: textField.text
property alias placeholderText: textField.placeholderText
property bool required: false
TextField {
id: textField
Layout.fillWidth: true
}
Text {
id: requiredText
text: root.required ? qsTr("*Required") : ""
font.family: App.settings.font
color: Material.secondaryTextColor
Layout.alignment: Qt.AlignRight
}
}