diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2017-03-30 12:43:26 +0200 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2017-03-30 12:43:26 +0200 |
commit | 5141a627566701f40b82a4c3e862ecaab726aedb (patch) | |
tree | d995bb0c415f44dc9b46b600d012b7ad8764241e | |
parent | d61428ad931aa54adf963a2b733ecd2fbf0a57ec (diff) | |
download | kube-5141a627566701f40b82a4c3e862ecaab726aedb.tar.gz kube-5141a627566701f40b82a4c3e862ecaab726aedb.zip |
use kube theme in autocompleteLineEdit
-rw-r--r-- | components/package/contents/ui/AutocompleteLineEdit.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/components/package/contents/ui/AutocompleteLineEdit.qml b/components/package/contents/ui/AutocompleteLineEdit.qml index a24ed0ee..bd4b867d 100644 --- a/components/package/contents/ui/AutocompleteLineEdit.qml +++ b/components/package/contents/ui/AutocompleteLineEdit.qml | |||
@@ -21,6 +21,7 @@ import QtQuick.Controls 2.0 as Controls2 | |||
21 | import QtQuick.Layouts 1.1 | 21 | import QtQuick.Layouts 1.1 |
22 | 22 | ||
23 | import org.kde.kirigami 1.0 as Kirigami | 23 | import org.kde.kirigami 1.0 as Kirigami |
24 | import org.kube.components.theme 1.0 as KubeTheme | ||
24 | 25 | ||
25 | Controls2.TextField { | 26 | Controls2.TextField { |
26 | id: textField | 27 | id: textField |
@@ -84,7 +85,7 @@ Controls2.TextField { | |||
84 | contentHeight: rect.height | 85 | contentHeight: rect.height |
85 | 86 | ||
86 | Rectangle { | 87 | Rectangle { |
87 | color: Kirigami.Theme.backgroundColor | 88 | color: KubeTheme.Colors.backgroundColor |
88 | id: rect | 89 | id: rect |
89 | anchors.top: popup.top | 90 | anchors.top: popup.top |
90 | anchors.left: popup.left | 91 | anchors.left: popup.left |
@@ -127,7 +128,7 @@ Controls2.TextField { | |||
127 | 128 | ||
128 | Text{ | 129 | Text{ |
129 | text: model.text | 130 | text: model.text |
130 | color: listDelegate.checked ? Kirigami.Theme.highlightedTextColor : Kirigami.Theme.textColor | 131 | color: listDelegate.checked ? KubeTheme.Colors.highlightedTextColor : Kirigami.Theme.textColor |
131 | } | 132 | } |
132 | } | 133 | } |
133 | } | 134 | } |