From 07c4d94f8a56dcc2e303a6297a14798c6abf3019 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Mon, 11 Feb 2019 19:35:40 +0100 Subject: [PATCH] mobile-widgets/qml: add TemplateTextField Signed-off-by: Jan Iversen Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/TemplateTextField.qml | 9 +++++++++ mobile-widgets/qml/mobile-resources.qrc | 1 + 2 files changed, 10 insertions(+) create mode 100644 mobile-widgets/qml/TemplateTextField.qml diff --git a/mobile-widgets/qml/TemplateTextField.qml b/mobile-widgets/qml/TemplateTextField.qml new file mode 100644 index 000000000..e9bee44f4 --- /dev/null +++ b/mobile-widgets/qml/TemplateTextField.qml @@ -0,0 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 +import QtQuick 2.11 +import QtQuick.Controls 2.4 + +TextField { + color: subsurfaceTheme.textColor + font.pointSize: subsurfaceTheme.regularPointSize +} + diff --git a/mobile-widgets/qml/mobile-resources.qrc b/mobile-widgets/qml/mobile-resources.qrc index 9a162b2dd..5c408654d 100644 --- a/mobile-widgets/qml/mobile-resources.qrc +++ b/mobile-widgets/qml/mobile-resources.qrc @@ -7,6 +7,7 @@ TemplateRadioButton.qml TemplateSection.qml TemplateSpinBox.qml + TemplateTextField.qml About.qml