From 59143f7f346db50020cea3527b5d45e1f1e8c676 Mon Sep 17 00:00:00 2001 From: Noelia Date: Fri, 17 Jun 2022 08:56:27 +0200 Subject: [PATCH] feat(StatusInput): Added alias property to font and binding to left / right paddings --- src/StatusQ/Controls/StatusInput.qml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/StatusQ/Controls/StatusInput.qml b/src/StatusQ/Controls/StatusInput.qml index 7d4ac87b..7319cd6f 100644 --- a/src/StatusQ/Controls/StatusInput.qml +++ b/src/StatusQ/Controls/StatusInput.qml @@ -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()