mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 09:09:56 +02:00
fixing error message spacing
This commit is contained in:
parent
116a15afe8
commit
3ad0f60dd5
1 changed files with 2 additions and 6 deletions
|
@ -76,8 +76,8 @@ Item {
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: loginErrorMessageTextMetrics.height
|
height: loginErrorMessageTextMetrics.height
|
||||||
anchors {
|
anchors {
|
||||||
bottom: buttons.top;
|
bottom: fields.top;
|
||||||
bottomMargin: 2 * hifi.dimensions.contentSpacing.y;
|
bottomMargin: 1.5 * hifi.dimensions.contentSpacing.y;
|
||||||
left: buttons.left;
|
left: buttons.left;
|
||||||
}
|
}
|
||||||
TextMetrics {
|
TextMetrics {
|
||||||
|
@ -107,10 +107,6 @@ Item {
|
||||||
loginErrorMessage.wrapMode = Text.NoWrap;
|
loginErrorMessage.wrapMode = Text.NoWrap;
|
||||||
errorContainer.height = loginErrorMessageTextMetrics.height;
|
errorContainer.height = loginErrorMessageTextMetrics.height;
|
||||||
}
|
}
|
||||||
if (completeProfileBody.withOculus) {
|
|
||||||
errorContainer.anchors.bottom = fields.top;
|
|
||||||
errorContainer.anchors.bottomMargin = hifi.dimensions.contentSpacing.y;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue