diff --git a/interface/resources/qml/LoginDialog/CantAccessBody.qml b/interface/resources/qml/LoginDialog/CantAccessBody.qml index b1cef05948..4eeb048318 100644 --- a/interface/resources/qml/LoginDialog/CantAccessBody.qml +++ b/interface/resources/qml/LoginDialog/CantAccessBody.qml @@ -121,15 +121,22 @@ Item { top: titleText.bottom topMargin: hifi.dimensions.contentSpacing.y left: parent.left - leftMargin: (parent.width - bodyTextMetrics.width) / 2 } text: qsTr("Please navigate to your default browser to recover your account.\nIf you are in a VR headset, please take it off.") font.pixelSize: cantAccessBody.textFontSize color: "white" wrapMode: Text.WordWrap - lineHeight: 2 + lineHeight: 1 lineHeightMode: Text.ProportionalHeight horizontalAlignment: Text.AlignHCenter + Component.onCompleted: { + bodyText.text = root.isTablet ? qsTr("Please navigate to your default browser\nto recover your account.\nIf you are in a VR headset, please take it off.") : + qsTr("Please navigate to your default browser to recover your account.\nIf you are in a VR headset, please take it off."); + bodyTextMetrics.text = bodyText.text; + bodyText + bodyText.anchors.leftMargin = (parent.width - bodyTextMetrics.width) / 2; + + } } }