From 0190a9e9110951012cfeef9bc52dc78b1014b314 Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Wed, 19 Apr 2017 10:04:53 +0200 Subject: dont show placeholder text when there is actual tect in the textfield --- framework/qml/TextField.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/qml/TextField.qml b/framework/qml/TextField.qml index 3d104f6a..688d0f5f 100644 --- a/framework/qml/TextField.qml +++ b/framework/qml/TextField.qml @@ -38,9 +38,9 @@ T.TextField { width: root.width - (root.leftPadding + root.rightPadding) height: root.height - (root.topPadding + root.bottomPadding) + visible: root.text == "" text: root.placeholderText //TODO font: - color: Colors.disabledTextColor elide: Text.ElideRight } -- cgit v1.2.3