diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2017-04-19 10:44:33 +0200 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2017-04-19 10:44:33 +0200 |
commit | 962f09c6f6ceedd96eced193360c1b106f555fac (patch) | |
tree | ac4103c97e110e16f1b476c7754e4bde5ab241e7 /framework/qml/TextField.qml | |
parent | 0190a9e9110951012cfeef9bc52dc78b1014b314 (diff) | |
download | kube-962f09c6f6ceedd96eced193360c1b106f555fac.tar.gz kube-962f09c6f6ceedd96eced193360c1b106f555fac.zip |
introduce Kube.Label and use it in kube controls
Diffstat (limited to 'framework/qml/TextField.qml')
-rw-r--r-- | framework/qml/TextField.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/qml/TextField.qml b/framework/qml/TextField.qml index 688d0f5f..dbf5dae7 100644 --- a/framework/qml/TextField.qml +++ b/framework/qml/TextField.qml | |||
@@ -29,8 +29,9 @@ T.TextField { | |||
29 | padding: Units.smallSpacing | 29 | padding: Units.smallSpacing |
30 | 30 | ||
31 | color: Colors.textColor | 31 | color: Colors.textColor |
32 | font.family: "Noto Sans" | ||
32 | 33 | ||
33 | Text { | 34 | Label { |
34 | id: placeholder | 35 | id: placeholder |
35 | x: root.leftPadding | 36 | x: root.leftPadding |
36 | y: root.topPadding | 37 | y: root.topPadding |
@@ -40,7 +41,6 @@ T.TextField { | |||
40 | 41 | ||
41 | visible: root.text == "" | 42 | visible: root.text == "" |
42 | text: root.placeholderText | 43 | text: root.placeholderText |
43 | //TODO font: | ||
44 | color: Colors.disabledTextColor | 44 | color: Colors.disabledTextColor |
45 | elide: Text.ElideRight | 45 | elide: Text.ElideRight |
46 | } | 46 | } |