Index: sources/gui/qml/components/TextEntry.qml =================================================================== diff -u -raef40c25aa724a8fc249346de0cfc91bc63df8d4 -r559dc64d12cf7647ec8c29ccbf4ca90f90e5e3a2 --- sources/gui/qml/components/TextEntry.qml (.../TextEntry.qml) (revision aef40c25aa724a8fc249346de0cfc91bc63df8d4) +++ sources/gui/qml/components/TextEntry.qml (.../TextEntry.qml) (revision 559dc64d12cf7647ec8c29ccbf4ca90f90e5e3a2) @@ -7,7 +7,7 @@ * * \file TextEntry.qml * \author (last) Behrouz NematiPour - * \date (last) 21-Jun-2021 + * \date (last) 02-Apr-2023 * \author (original) Behrouz NematiPour * \date (original) 16-Apr-2021 * @@ -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 @@ -68,6 +69,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 @@ -77,7 +90,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