mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Center error text correctly.
This commit is contained in:
parent
b948f24a56
commit
d89cf867d2
1 changed files with 9 additions and 4 deletions
|
@ -161,9 +161,10 @@ Item {
|
|||
width: parent.width
|
||||
height: loginErrorMessageTextMetrics.height
|
||||
anchors {
|
||||
bottom: loginDialogTextContainer.top;
|
||||
bottomMargin: hifi.dimensions.contentSpacing.y;
|
||||
left: loginDialogTextContainer.left;
|
||||
bottom: loginDialogTextContainer.top
|
||||
bottomMargin: hifi.dimensions.contentSpacing.y
|
||||
left: loginDialogTextContainer.left
|
||||
right: loginDialogTextContainer.right
|
||||
}
|
||||
TextMetrics {
|
||||
id: loginErrorMessageTextMetrics
|
||||
|
@ -176,6 +177,11 @@ Item {
|
|||
font.family: linkAccountBody.fontFamily
|
||||
font.pixelSize: linkAccountBody.textFieldFontSize
|
||||
font.bold: linkAccountBody.fontBold
|
||||
anchors {
|
||||
top: parent.top
|
||||
left: parent.left
|
||||
right: parent.right
|
||||
}
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
text: ""
|
||||
|
@ -191,7 +197,6 @@ Item {
|
|||
left: parent.left
|
||||
right: parent.right
|
||||
topMargin: 1.5 * hifi.dimensions.contentSpacing.y
|
||||
// horizontalCenter: mainContainer.horizontalCenter
|
||||
}
|
||||
|
||||
Text {
|
||||
|
|
Loading…
Reference in a new issue