From 224ad28ed795ef10199ddbfd0d0854e7de86cdcd Mon Sep 17 00:00:00 2001 From: Wayne Chen Date: Fri, 30 Nov 2018 13:09:54 -0800 Subject: [PATCH] lowering banner/adding space btwn cancel/signup --- interface/resources/qml/LoginDialog/LinkAccountBody.qml | 2 +- interface/resources/qml/LoginDialog/SignUpBody.qml | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/interface/resources/qml/LoginDialog/LinkAccountBody.qml b/interface/resources/qml/LoginDialog/LinkAccountBody.qml index 1c01f675e3..1cb7313244 100644 --- a/interface/resources/qml/LoginDialog/LinkAccountBody.qml +++ b/interface/resources/qml/LoginDialog/LinkAccountBody.qml @@ -102,7 +102,7 @@ Item { height: banner.height anchors { bottom: loginContainer.top - bottomMargin: 0.125 * parent.height + bottomMargin: 0.12 * parent.height } Image { id: banner diff --git a/interface/resources/qml/LoginDialog/SignUpBody.qml b/interface/resources/qml/LoginDialog/SignUpBody.qml index bd50714843..e12b89e983 100644 --- a/interface/resources/qml/LoginDialog/SignUpBody.qml +++ b/interface/resources/qml/LoginDialog/SignUpBody.qml @@ -110,7 +110,7 @@ Item { height: banner.height anchors { bottom: loginContainer.top - bottomMargin: 0.125 * parent.height + bottomMargin: 0.12 * parent.height } Image { id: banner @@ -356,13 +356,12 @@ Item { } HifiControlsUit.Button { id: cancelButton - width: emailField.width / 2 + width: (emailField.width - hifi.dimensions.contentSpacing.x) / 2 height: d.minHeightButton anchors { top: keepMeLoggedInCheckbox.bottom topMargin: hifi.dimensions.contentSpacing.y left: parent.left - leftMargin: (parent.width - passwordField.width) / 2 } color: hifi.buttons.noneBorderlessWhite text: qsTr("CANCEL") @@ -375,7 +374,7 @@ Item { } HifiControlsUit.Button { id: signUpButton - width: emailField.width / 2 + width: (emailField.width - hifi.dimensions.contentSpacing.x) / 2 height: d.minHeightButton color: hifi.buttons.blue text: qsTr("Sign Up")