diff options
-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> |