mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 09:57:51 +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
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue