Index: sources/gui/qml/components/TextEntry.qml =================================================================== diff -u -r9048646630717f980a852df54349805ba63773e0 -r3738eb975493a36efae6b1a060624abab72c6871 --- sources/gui/qml/components/TextEntry.qml (.../TextEntry.qml) (revision 9048646630717f980a852df54349805ba63773e0) +++ sources/gui/qml/components/TextEntry.qml (.../TextEntry.qml) (revision 3738eb975493a36efae6b1a060624abab72c6871) @@ -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,10 @@ width : TextEntry.InputWidth text : "" font.pixelSize : Fonts.fontPixelTextRectExtra - color : acceptableInput ? Colors.textMain : Colors.red + color : acceptableInput ? _root.showDisabledColor && + enabled ? + Colors.textMain : Colors.borderDisableButton : + Colors.red selectionColor : Colors.borderButtonHalfDarker selectedTextColor : acceptableInput ? Colors.textMain : Colors.red anchors.left : _separator.right