From 3ad0f60dd53d015bfc1757475cdf6d6b33e6c03e Mon Sep 17 00:00:00 2001 From: Wayne Chen Date: Wed, 16 Jan 2019 17:20:01 -0800 Subject: [PATCH] fixing error message spacing --- .../resources/qml/LoginDialog/CompleteProfileBody.qml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/interface/resources/qml/LoginDialog/CompleteProfileBody.qml b/interface/resources/qml/LoginDialog/CompleteProfileBody.qml index db90194f0a..893c5f6e4e 100644 --- a/interface/resources/qml/LoginDialog/CompleteProfileBody.qml +++ b/interface/resources/qml/LoginDialog/CompleteProfileBody.qml @@ -76,8 +76,8 @@ Item { width: parent.width height: loginErrorMessageTextMetrics.height anchors { - bottom: buttons.top; - bottomMargin: 2 * hifi.dimensions.contentSpacing.y; + bottom: fields.top; + bottomMargin: 1.5 * hifi.dimensions.contentSpacing.y; left: buttons.left; } TextMetrics { @@ -107,10 +107,6 @@ Item { loginErrorMessage.wrapMode = Text.NoWrap; errorContainer.height = loginErrorMessageTextMetrics.height; } - if (completeProfileBody.withOculus) { - errorContainer.anchors.bottom = fields.top; - errorContainer.anchors.bottomMargin = hifi.dimensions.contentSpacing.y; - } } }