Index: sources/gui/qml/components/TextEntry.qml =================================================================== diff -u -r510ea07f96362a18f9961f41b5b91740df075c1f -rd71990c79c75c613d781890c6f77505d409d6c64 --- sources/gui/qml/components/TextEntry.qml (.../TextEntry.qml) (revision 510ea07f96362a18f9961f41b5b91740df075c1f) +++ sources/gui/qml/components/TextEntry.qml (.../TextEntry.qml) (revision d71990c79c75c613d781890c6f77505d409d6c64) @@ -22,8 +22,13 @@ Item { id: _root property alias textInput : _input + property alias line : _line + property alias label : _label property alias labelText : _label.text property alias validator : _input.validator + property bool enableInput : true + property color lineColor : Colors.textEntry + property bool lineVisible : true signal enterPressed() width: Variables.textInputWidth @@ -42,7 +47,9 @@ anchors { left: _label.right } - + enabled: _root.enableInput + autoScroll: false + clip: true color: Colors.textMain text: "" font.pixelSize: Fonts.fontPixelTextRectExtra @@ -65,8 +72,9 @@ } } - Line { - color: Colors.textEntry + Line { id: _line + color: _root.lineColor + visible: _root.lineVisible width: Variables.textInputLineWidth anchors { top: _input.bottom