From 747a501ada7e8a7895f5cd91de2cff9194a9cd2e Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Tue, 18 Apr 2017 09:38:48 +0200 Subject: give use TextField in Composer and give it a border --- framework/qml/AutocompleteLineEdit.qml | 2 +- framework/qml/FocusComposer.qml | 2 +- framework/qml/TextField.qml | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) (limited to 'framework/qml') diff --git a/framework/qml/AutocompleteLineEdit.qml b/framework/qml/AutocompleteLineEdit.qml index a232ee68..a4d2e7b7 100644 --- a/framework/qml/AutocompleteLineEdit.qml +++ b/framework/qml/AutocompleteLineEdit.qml @@ -23,7 +23,7 @@ import QtQuick.Layouts 1.1 import org.kde.kirigami 1.0 as Kirigami import org.kube.framework 1.0 as Kube -Controls2.TextField { +Kube.TextField { id: textField property string searchTerm diff --git a/framework/qml/FocusComposer.qml b/framework/qml/FocusComposer.qml index f6bc3963..08b56ac5 100644 --- a/framework/qml/FocusComposer.qml +++ b/framework/qml/FocusComposer.qml @@ -190,7 +190,7 @@ Kube.Popup { } } - Controls2.TextField { + Kube.TextField { id: subject Layout.fillWidth: true diff --git a/framework/qml/TextField.qml b/framework/qml/TextField.qml index 7542af65..3d104f6a 100644 --- a/framework/qml/TextField.qml +++ b/framework/qml/TextField.qml @@ -47,5 +47,7 @@ T.TextField { background: Rectangle { color: Colors.viewBackgroundColor + border.width: 1 + border.color: Colors.buttonColor } } -- cgit v1.2.3