diff --git a/interface/resources/qml/hifi/avatarPackager/AvatarProject.qml b/interface/resources/qml/hifi/avatarPackager/AvatarProject.qml index 5420651847..a0c98b0821 100644 --- a/interface/resources/qml/hifi/avatarPackager/AvatarProject.qml +++ b/interface/resources/qml/hifi/avatarPackager/AvatarProject.qml @@ -292,13 +292,58 @@ Item { color: 'white' size: 20 - anchors.left: parent.left - anchors.right: parent.right + anchors.horizontalCenter: parent.horizontalCenter anchors.top: errorsGlyph.bottom wrapMode: Text.Wrap } + RalewayRegular { + id: notForSaleMessage + + visible: root.hasSuccessfullyUploaded + + color: 'white' + linkColor: '#00B4EF' + size: 20 + + anchors.left: parent.left + anchors.right: parent.right + anchors.top: doctorStatusMessage.bottom + anchors.topMargin: 10 + + anchors.bottomMargin: 24 + + wrapMode: Text.Wrap + text: "This item is not for sale yet, learn more." + + onLinkActivated: { + Qt.openUrlExternally("https://docs.projectathena.dev/sell/add-item/upload-avatar.html"); + } + } + + RalewayRegular { + id: showErrorsLink + + color: 'white' + linkColor: '#00B4EF' + + visible: AvatarPackagerCore.currentAvatarProject && AvatarPackagerCore.currentAvatarProject.hasErrors + + anchors { + top: notForSaleMessage.bottom + horizontalCenter: parent.horizontalCenter + } + + size: 28 + + text: "View all errors" + + onLinkActivated: { + avatarPackager.state = AvatarPackagerState.avatarDoctorErrorReport; + } + } + RalewayRegular { id: infoMessage @@ -326,8 +371,7 @@ Item { anchors.left: parent.left anchors.right: parent.right - anchors.top: doctorStatusMessage.bottom - + anchors.bottom: showFilesText.top anchors.bottomMargin: 24 wrapMode: Text.Wrap @@ -337,53 +381,6 @@ Item { text: "Your files are ready to be uploaded to a server to make your avatar visible to other users." } - RalewayRegular { - id: notForSaleMessage - - visible: root.hasSuccessfullyUploaded - - color: 'white' - linkColor: '#00B4EF' - size: 20 - - anchors.left: parent.left - anchors.right: parent.right - anchors.top: infoMessage.bottom - anchors.topMargin: 10 - - anchors.bottomMargin: 24 - - wrapMode: Text.Wrap - text: "This item is not for sale yet, learn more." - - onLinkActivated: { - Qt.openUrlExternally("https://docs.projectathena.dev/sell/add-item/upload-avatar.html"); - } - } - - RalewayRegular { - id: showErrorsLink - - color: 'white' - linkColor: '#00B4EF' - - visible: AvatarPackagerCore.currentAvatarProject && AvatarPackagerCore.currentAvatarProject.hasErrors - - anchors { - top: notForSaleMessage.visible ? notForSaleMessage.bottom : infoMessage .bottom - bottom: showFilesText.top - horizontalCenter: parent.horizontalCenter - } - - size: 28 - - text: "View all errors" - - onLinkActivated: { - avatarPackager.state = AvatarPackagerState.avatarDoctorErrorReport; - } - } - HifiControls.Button { id: openFolderButton