Index: sources/gui/qml/components/TextEntry.qml =================================================================== diff -u -r9048646630717f980a852df54349805ba63773e0 -r86df7ff03ea32f9cd8a18bbbc7b2e01de64c783f --- sources/gui/qml/components/TextEntry.qml (.../TextEntry.qml) (revision 9048646630717f980a852df54349805ba63773e0) +++ sources/gui/qml/components/TextEntry.qml (.../TextEntry.qml) (revision 86df7ff03ea32f9cd8a18bbbc7b2e01de64c783f) @@ -38,6 +38,7 @@ property alias lengthMax : _input.maximumLength property bool useQtNumPad : true property bool showPlaceHolderText: false + property bool showDisabledColor :false // only show greyed text if allowed. readonly property alias isValid : _input.acceptableInput @@ -101,7 +102,11 @@ width : TextEntry.InputWidth text : "" font.pixelSize : Fonts.fontPixelTextRectExtra - color : acceptableInput ? Colors.textMain : Colors.red + color : acceptableInput && enabled ? Colors.textMain : + _root.showDisabledColor && + ! enabled ? + Colors.borderDisableButton : + Colors.red selectionColor : Colors.borderButtonHalfDarker selectedTextColor : acceptableInput ? Colors.textMain : Colors.red anchors.left : _separator.right