Index: sources/gui/qml/components/TextEntry.qml =================================================================== diff -u -r28845c70151c3fb6f1a8e92c82da0232b6ca854a -r5154e66736a0157835b003e7dfba5fcfb2ffcb6c --- sources/gui/qml/components/TextEntry.qml (.../TextEntry.qml) (revision 28845c70151c3fb6f1a8e92c82da0232b6ca854a) +++ sources/gui/qml/components/TextEntry.qml (.../TextEntry.qml) (revision 5154e66736a0157835b003e7dfba5fcfb2ffcb6c) @@ -30,6 +30,7 @@ property alias textInput : _input property alias line : _line property alias label : _label + property alias separator : _separator property alias validator : _input.validator property var nextInput : undefined property alias text : _input.text @@ -71,6 +72,18 @@ font.pixelSize : Fonts.fontPixelTextRectExtra } + Text { id : _separator + visible : text + width : 0 + text : "" + height : parent.height + anchors.left : _label.right + anchors.top : parent.top + color : Colors.textMain + font.pixelSize : Fonts.fontPixelTextRectExtra + horizontalAlignment: Text.AlignLeft + } + TextInput { id : _input enabled : hasCursor height : parent.height @@ -80,7 +93,7 @@ color : acceptableInput ? Colors.textMain : Colors.red selectionColor : Colors.borderButtonHalfDarker selectedTextColor : acceptableInput ? Colors.textMain : Colors.red - anchors.left : _label.right + anchors.left : _separator.right horizontalAlignment : TextInput.AlignHCenter inputMethodHints : Qt.ImhDigitsOnly selectByMouse : true