mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 05:52:41 +00:00
feat(StatusInput): Added alias property to font and binding to left / right paddings
This commit is contained in:
parent
264a45cec3
commit
db2fda5ed4
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user