mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 23:57:13 +02:00
Improve order of dialog contents
This commit is contained in:
parent
977d498004
commit
1d9aec6fec
1 changed files with 48 additions and 51 deletions
|
@ -292,13 +292,58 @@ Item {
|
||||||
color: 'white'
|
color: 'white'
|
||||||
size: 20
|
size: 20
|
||||||
|
|
||||||
anchors.left: parent.left
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
anchors.right: parent.right
|
|
||||||
anchors.top: errorsGlyph.bottom
|
anchors.top: errorsGlyph.bottom
|
||||||
|
|
||||||
wrapMode: Text.Wrap
|
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, <a href='#'>learn more</a>."
|
||||||
|
|
||||||
|
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: "<a href='toggle'>View all errors</a>"
|
||||||
|
|
||||||
|
onLinkActivated: {
|
||||||
|
avatarPackager.state = AvatarPackagerState.avatarDoctorErrorReport;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
RalewayRegular {
|
RalewayRegular {
|
||||||
id: infoMessage
|
id: infoMessage
|
||||||
|
|
||||||
|
@ -326,8 +371,7 @@ Item {
|
||||||
|
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.top: doctorStatusMessage.bottom
|
anchors.bottom: showFilesText.top
|
||||||
|
|
||||||
anchors.bottomMargin: 24
|
anchors.bottomMargin: 24
|
||||||
|
|
||||||
wrapMode: Text.Wrap
|
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."
|
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, <a href='#'>learn more</a>."
|
|
||||||
|
|
||||||
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: "<a href='toggle'>View all errors</a>"
|
|
||||||
|
|
||||||
onLinkActivated: {
|
|
||||||
avatarPackager.state = AvatarPackagerState.avatarDoctorErrorReport;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
HifiControls.Button {
|
HifiControls.Button {
|
||||||
id: openFolderButton
|
id: openFolderButton
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue