Index: sources/gui/qml/components/TextEntry.qml =================================================================== diff -u -r510ea07f96362a18f9961f41b5b91740df075c1f -r96b249bba7de97afe17cfbdaf02250dbded38f4b --- sources/gui/qml/components/TextEntry.qml (.../TextEntry.qml) (revision 510ea07f96362a18f9961f41b5b91740df075c1f) +++ sources/gui/qml/components/TextEntry.qml (.../TextEntry.qml) (revision 96b249bba7de97afe17cfbdaf02250dbded38f4b) @@ -22,8 +22,14 @@ 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 + property alias labelVisible : _label.visible signal enterPressed() width: Variables.textInputWidth @@ -42,7 +48,9 @@ anchors { left: _label.right } - + enabled: _root.enableInput + autoScroll: false + clip: true color: Colors.textMain text: "" font.pixelSize: Fonts.fontPixelTextRectExtra @@ -65,8 +73,9 @@ } } - Line { - color: Colors.textEntry + Line { id: _line + color: _root.lineColor + visible: _root.lineVisible width: Variables.textInputLineWidth anchors { top: _input.bottom