lowering banner/adding space btwn cancel/signup

This commit is contained in:
Wayne Chen 2018-11-30 13:09:54 -08:00
parent c8783776fe
commit 224ad28ed7
2 changed files with 4 additions and 5 deletions

View file

@ -102,7 +102,7 @@ Item {
height: banner.height height: banner.height
anchors { anchors {
bottom: loginContainer.top bottom: loginContainer.top
bottomMargin: 0.125 * parent.height bottomMargin: 0.12 * parent.height
} }
Image { Image {
id: banner id: banner

View file

@ -110,7 +110,7 @@ Item {
height: banner.height height: banner.height
anchors { anchors {
bottom: loginContainer.top bottom: loginContainer.top
bottomMargin: 0.125 * parent.height bottomMargin: 0.12 * parent.height
} }
Image { Image {
id: banner id: banner
@ -356,13 +356,12 @@ Item {
} }
HifiControlsUit.Button { HifiControlsUit.Button {
id: cancelButton id: cancelButton
width: emailField.width / 2 width: (emailField.width - hifi.dimensions.contentSpacing.x) / 2
height: d.minHeightButton height: d.minHeightButton
anchors { anchors {
top: keepMeLoggedInCheckbox.bottom top: keepMeLoggedInCheckbox.bottom
topMargin: hifi.dimensions.contentSpacing.y topMargin: hifi.dimensions.contentSpacing.y
left: parent.left left: parent.left
leftMargin: (parent.width - passwordField.width) / 2
} }
color: hifi.buttons.noneBorderlessWhite color: hifi.buttons.noneBorderlessWhite
text: qsTr("CANCEL") text: qsTr("CANCEL")
@ -375,7 +374,7 @@ Item {
} }
HifiControlsUit.Button { HifiControlsUit.Button {
id: signUpButton id: signUpButton
width: emailField.width / 2 width: (emailField.width - hifi.dimensions.contentSpacing.x) / 2
height: d.minHeightButton height: d.minHeightButton
color: hifi.buttons.blue color: hifi.buttons.blue
text: qsTr("Sign Up") text: qsTr("Sign Up")