From 96ec5851795ff6180fb99d41e24b266f9ffead05 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Wed, 15 Jan 2020 15:41:26 +0100 Subject: mobile-widgets/qml: settings Control.TextEdit -> TemplateTextEdit Replace Control.TextEdit with TemplateTextEdit, in order to use common font/color scheme. Signed-off-by: jan Iversen Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/Settings.qml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'mobile-widgets') diff --git a/mobile-widgets/qml/Settings.qml b/mobile-widgets/qml/Settings.qml index 7565a45bf..b443c2633 100644 --- a/mobile-widgets/qml/Settings.qml +++ b/mobile-widgets/qml/Settings.qml @@ -305,12 +305,10 @@ Kirigami.ScrollablePage { Layout.preferredWidth: gridWidth * 0.75 } - Controls.TextField { + TemplateTextField { id: distanceThreshold text: PrefLocationService.distance_threshold - font.pointSize: subsurfaceTheme.regularPointSize Layout.preferredWidth: gridWidth * 0.25 - color: subsurfaceTheme.textColor onEditingFinished: { PrefLocationService.distance_threshold = distanceThreshold.text } @@ -321,12 +319,10 @@ Kirigami.ScrollablePage { Layout.preferredWidth: gridWidth * 0.75 } - Controls.TextField { + TemplateTextField { id: timeThreshold text: PrefLocationService.time_threshold / 60 - font.pointSize: subsurfaceTheme.regularPointSize Layout.preferredWidth: gridWidth * 0.25 - color: subsurfaceTheme.textColor onEditingFinished: { PrefLocationService.time_threshold = timeThreshold.text * 60 } -- cgit v1.2.3-70-g09d2