Index: sources/gui/qml/pages/UserConfirmation.qml =================================================================== diff -u -r2ef03b2ce51b4dc507f66e9671953a8e0824bde9 -rdf885d35a2886bef43235dc0279c60f297c57fae --- sources/gui/qml/pages/UserConfirmation.qml (.../UserConfirmation.qml) (revision 2ef03b2ce51b4dc507f66e9671953a8e0824bde9) +++ sources/gui/qml/pages/UserConfirmation.qml (.../UserConfirmation.qml) (revision df885d35a2886bef43235dc0279c60f297c57fae) @@ -34,6 +34,7 @@ readonly property string passwordCurrent : _passwordCurrent.textInput.text readonly property string passwordUpdated : _passwordUpdated.textInput.text readonly property string passwordConfirm : _passwordConfirm.textInput.text + property int passwordLengthMax : 30 property alias message : _message.text function clearPasswordCurrnet() { _passwordCurrent.textInput.text = "" } @@ -59,6 +60,7 @@ PasswordEntry { id: _passwordCurrent label.text : ! passwordChangeMode ? "" : qsTr("Current") label.width : ! passwordChangeMode ? 0 : labelWidth + lengthMax : passwordLengthMax nextInput : _passwordUpdated anchors { top : parent.top @@ -71,6 +73,7 @@ visible : passwordChangeMode label.text : qsTr("New") nextInput : _passwordConfirm + lengthMax : passwordLengthMax anchors { top : _passwordCurrent.bottom horizontalCenter : parent.horizontalCenter @@ -80,6 +83,7 @@ PasswordEntry { id: _passwordConfirm visible : passwordChangeMode label.text : qsTr("Confirm") + lengthMax : passwordLengthMax anchors { top : _passwordUpdated.bottom horizontalCenter : parent.horizontalCenter @@ -91,6 +95,7 @@ property alias nextInput : _passwordEntry.nextInput property alias label : _passwordEntry.label property int labelWidth : 150 + property alias lengthMax : _passwordEntry.lengthMax height : 70 label.width : labelWidth