mobile-widgets/qml: settings Control.comboBox -> TemplateComboBox

Replace Control.ComboBox with TemplateComboBox, in order to use
common font/color scheme.

Signed-off-by: jan Iversen <jan@casacondor.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
jan Iversen 2020-01-15 14:50:07 +01:00 committed by Dirk Hohndel
parent 2ce32277db
commit ee1d5ba94e

View file

@ -356,9 +356,8 @@ Kirigami.ScrollablePage {
TemplateLabel { TemplateLabel {
text: qsTr("Cylinder:") text: qsTr("Cylinder:")
} }
Controls.ComboBox { TemplateComboBox {
id: defaultCylinderBox id: defaultCylinderBox
font.pointSize: subsurfaceTheme.regularPointSize
Layout.preferredHeight: fontMetrics.height * 2.5 Layout.preferredHeight: fontMetrics.height * 2.5
inputMethodHints: Qt.ImhNoPredictiveText inputMethodHints: Qt.ImhNoPredictiveText
Layout.fillWidth: true Layout.fillWidth: true