feat(StatusInput): Added alias property to font and binding to left / right paddings

This commit is contained in:
Noelia 2022-06-17 08:56:27 +02:00 committed by Noelia
parent cb4094b128
commit 59143f7f34
1 changed files with 8 additions and 0 deletions

View File

@ -58,6 +58,11 @@ Item {
This property holds a reference to the TextEdit's text property.
*/
property alias text: statusBaseInput.text
/*!
\qmlproperty alias StatusInput::font
This property holds a reference to the TextEdit's font property.
*/
property alias font: statusBaseInput.font
/*!
\qmlproperty errorMessageCmp
@ -359,6 +364,9 @@ Item {
Layout.fillWidth: true
Layout.fillHeight: true
leftPadding: root.leftPadding
rightPadding: root.rightPadding
maximumLength: root.charLimit
onTextChanged: root.validate()