diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2017-03-30 12:48:50 +0200 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2017-03-30 12:48:50 +0200 |
commit | f866b5f7a96c2ebbf1b7e8b92e7b46903b2ebf92 (patch) | |
tree | 7e71af19cd5700b5bb34287945752394078aae06 | |
parent | 5141a627566701f40b82a4c3e862ecaab726aedb (diff) | |
download | kube-f866b5f7a96c2ebbf1b7e8b92e7b46903b2ebf92.tar.gz kube-f866b5f7a96c2ebbf1b7e8b92e7b46903b2ebf92.zip |
use more kube theme in autocomplete lineedit
-rw-r--r-- | components/package/contents/ui/AutocompleteLineEdit.qml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/components/package/contents/ui/AutocompleteLineEdit.qml b/components/package/contents/ui/AutocompleteLineEdit.qml index bd4b867d..64e5940f 100644 --- a/components/package/contents/ui/AutocompleteLineEdit.qml +++ b/components/package/contents/ui/AutocompleteLineEdit.qml | |||
@@ -85,13 +85,17 @@ Controls2.TextField { | |||
85 | contentHeight: rect.height | 85 | contentHeight: rect.height |
86 | 86 | ||
87 | Rectangle { | 87 | Rectangle { |
88 | color: KubeTheme.Colors.backgroundColor | ||
89 | id: rect | 88 | id: rect |
89 | |||
90 | anchors.top: popup.top | 90 | anchors.top: popup.top |
91 | anchors.left: popup.left | 91 | anchors.left: popup.left |
92 | |||
92 | height: listView.contentHeight | 93 | height: listView.contentHeight |
93 | width: textField.width | 94 | width: textField.width |
94 | border.color: "Black" | 95 | |
96 | border.color: KubeTheme.Colors.textColor | ||
97 | color: KubeTheme.Colors.backgroundColor | ||
98 | |||
95 | radius: 5 | 99 | radius: 5 |
96 | ListView { | 100 | ListView { |
97 | id: listView | 101 | id: listView |
@@ -128,7 +132,7 @@ Controls2.TextField { | |||
128 | 132 | ||
129 | Text{ | 133 | Text{ |
130 | text: model.text | 134 | text: model.text |
131 | color: listDelegate.checked ? KubeTheme.Colors.highlightedTextColor : Kirigami.Theme.textColor | 135 | color: listDelegate.checked ? KubeTheme.Colors.highlightedTextColor : KubeTheme.Colors.textColor |
132 | } | 136 | } |
133 | } | 137 | } |
134 | } | 138 | } |