summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bohlender <michael.bohlender@kdemail.net>2017-05-31 10:59:19 +0200
committerMichael Bohlender <michael.bohlender@kdemail.net>2017-05-31 10:59:19 +0200
commit5b541813c5fc8d4e3ef259130eff8f9a03cf790d (patch)
tree1c038ad7ba7ac001767558e975b073f0320c0ffb
parent48eb16af831e34a43b75c6fe8797a80a90499a9a (diff)
downloadkube-5b541813c5fc8d4e3ef259130eff8f9a03cf790d.tar.gz
kube-5b541813c5fc8d4e3ef259130eff8f9a03cf790d.zip
add focus visualisaion for textarea and textfield
-rw-r--r--framework/qml/TextArea.qml2
-rw-r--r--framework/qml/TextField.qml2
2 files changed, 2 insertions, 2 deletions
diff --git a/framework/qml/TextArea.qml b/framework/qml/TextArea.qml
index 47371f2b..c5e202f3 100644
--- a/framework/qml/TextArea.qml
+++ b/framework/qml/TextArea.qml
@@ -34,6 +34,6 @@ T.TextArea {
34 background: Rectangle { 34 background: Rectangle {
35 color: Kube.Colors.viewBackgroundColor 35 color: Kube.Colors.viewBackgroundColor
36 border.width: 1 36 border.width: 1
37 border.color: Kube.Colors.buttonColor 37 border.color: root.focus ? Kube.Colors.highlightColor : Kube.Colors.buttonColor
38 } 38 }
39} 39}
diff --git a/framework/qml/TextField.qml b/framework/qml/TextField.qml
index a33ccc3a..2fbee655 100644
--- a/framework/qml/TextField.qml
+++ b/framework/qml/TextField.qml
@@ -48,6 +48,6 @@ T.TextField {
48 background: Rectangle { 48 background: Rectangle {
49 color: Kube.Colors.viewBackgroundColor 49 color: Kube.Colors.viewBackgroundColor
50 border.width: 1 50 border.width: 1
51 border.color: Kube.Colors.buttonColor 51 border.color: root.focus ? Kube.Colors.highlightColor : Kube.Colors.buttonColor
52 } 52 }
53} 53}