diff options
author | jan Iversen <jani@apache.org> | 2019-02-11 19:35:40 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-01-19 11:50:10 -0800 |
commit | 07c4d94f8a56dcc2e303a6297a14798c6abf3019 (patch) | |
tree | 5ad9bb50b8b1798711a77dc3434dc93a47fdc265 | |
parent | 93c3a18db7142e9d6afeed4fde17196776e0d422 (diff) | |
download | subsurface-07c4d94f8a56dcc2e303a6297a14798c6abf3019.tar.gz |
mobile-widgets/qml: add TemplateTextField
Signed-off-by: Jan Iversen <jani@apache.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | mobile-widgets/qml/TemplateTextField.qml | 9 | ||||
-rw-r--r-- | mobile-widgets/qml/mobile-resources.qrc | 1 |
2 files changed, 10 insertions, 0 deletions
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 @@ <file>TemplateRadioButton.qml</file> <file>TemplateSection.qml</file> <file>TemplateSpinBox.qml</file> + <file>TemplateTextField.qml</file> <!-- ********** qml ********** --> <file>About.qml</file> |