From 68a15b8cdfd75a40b8deff279b6a19689606d396 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 20 Dec 2020 17:08:18 -0800 Subject: mobile/UI: cloud credentials follow our theming This was simply not using our labels / text fields, so it didn't pick up our colors automatically. Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/CloudCredentials.qml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'mobile-widgets/qml/CloudCredentials.qml') diff --git a/mobile-widgets/qml/CloudCredentials.qml b/mobile-widgets/qml/CloudCredentials.qml index 46a97cac7..982b42c48 100644 --- a/mobile-widgets/qml/CloudCredentials.qml +++ b/mobile-widgets/qml/CloudCredentials.qml @@ -43,16 +43,16 @@ Item { text: qsTr("Cloud credentials") level: headingLevel Layout.bottomMargin: Kirigami.Units.largeSpacing / 2 + color: subsurfaceTheme.textColor } - Controls.Label { + TemplateLabelSmall { text: qsTr("Email") visible: !showPin - font.pointSize: subsurfaceTheme.smallPointSize color: subsurfaceTheme.secondaryTextColor } - Controls.TextField { + TemplateTextField { id: login text: PrefCloudStorage.cloud_storage_email visible: !showPin @@ -61,14 +61,13 @@ Item { Qt.ImhNoAutoUppercase } - Controls.Label { + TemplateLabelSmall { text: qsTr("Password") visible: !showPin - font.pointSize: subsurfaceTheme.smallPointSize color: subsurfaceTheme.secondaryTextColor } - Controls.TextField { + TemplateTextField { id: password text: PrefCloudStorage.cloud_storage_password visible: !showPin @@ -79,11 +78,11 @@ Item { Layout.fillWidth: true } - Controls.Label { + TemplateLabel { text: qsTr("PIN") visible: showPin } - Controls.TextField { + TemplateTextField { id: pin text: "" Layout.fillWidth: true @@ -147,6 +146,7 @@ Item { } } TemplateButton { + Layout.margins: Kirigami.Units.smallSpacing id: signin_forgot_password text: qsTr("Forgot password?") onClicked: { -- cgit v1.2.3-70-g09d2