From b0063e5d1a6004e4459a872ae166065e52e460d6 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 3 Dec 2015 17:57:25 -0800 Subject: QML-UI: use our styled elements This gets us consistent look and feel as otherwise the labels aren't styled the same as for the rest of the application. Signed-off-by: Dirk Hohndel --- qt-mobile/qml/CloudCredentials.qml | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) (limited to 'qt-mobile/qml/CloudCredentials.qml') diff --git a/qt-mobile/qml/CloudCredentials.qml b/qt-mobile/qml/CloudCredentials.qml index bada5c04d..fafa26091 100644 --- a/qt-mobile/qml/CloudCredentials.qml +++ b/qt-mobile/qml/CloudCredentials.qml @@ -24,7 +24,7 @@ Item { Layout.bottomMargin: MobileComponents.Units.largeSpacing / 2 } - Label { + MobileComponents.Label { text: "Email" } @@ -34,7 +34,7 @@ Item { Layout.fillWidth: true } - Label { + MobileComponents.Label { text: "Password" } @@ -44,22 +44,28 @@ Item { echoMode: TextInput.Password Layout.fillWidth: true } + GridLayout { + columns: 2 - CheckBox { - text: "Show password" - checked: false - id: showPassword - onCheckedChanged: { - password.echoMode = checked ? TextInput.Normal : TextInput.Password + CheckBox { + checked: false + id: showPassword + onCheckedChanged: { + password.echoMode = checked ? TextInput.Normal : TextInput.Password + } + } + MobileComponents.Label { + text: "Show password" } - } - CheckBox { - text: "Remember" - checked: manager.saveCloudPassword - id: savePassword + CheckBox { + checked: manager.saveCloudPassword + id: savePassword + } + MobileComponents.Label { + text: "Remember" + } } - Item { width: MobileComponents.Units.gridUnit; height: width } Item { height: saveButton.height -- cgit v1.2.3-70-g09d2