mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 13:28:16 +02:00
Add full resource paths to list in marketplace item tester
This commit is contained in:
parent
a592565b7b
commit
cfa9d185f0
1 changed files with 19 additions and 8 deletions
|
@ -94,21 +94,32 @@ Rectangle {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Column {
|
||||||
text: {
|
|
||||||
var match = resource.match(/\/([^/]*)$/);
|
|
||||||
return match ? match[1] : resource;
|
|
||||||
}
|
|
||||||
font.pointSize: 12
|
|
||||||
Layout.preferredWidth: root.width * .6
|
Layout.preferredWidth: root.width * .6
|
||||||
horizontalAlignment: Text.AlignBottom
|
spacing: 5
|
||||||
|
Text {
|
||||||
|
text: {
|
||||||
|
var match = resource.match(/\/([^/]*)$/);
|
||||||
|
return match ? match[1] : resource;
|
||||||
|
}
|
||||||
|
font.pointSize: 12
|
||||||
|
horizontalAlignment: Text.AlignBottom
|
||||||
|
}
|
||||||
|
Text {
|
||||||
|
text: resource
|
||||||
|
font.pointSize: 8
|
||||||
|
width: root.width * .6
|
||||||
|
horizontalAlignment: Text.AlignBottom
|
||||||
|
wrapMode: Text.WrapAnywhere
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
text: assetType
|
text: assetType
|
||||||
font.pointSize: 10
|
font.pointSize: 10
|
||||||
Layout.preferredWidth: root.width * .2
|
Layout.preferredWidth: root.width * .2
|
||||||
horizontalAlignment: Text.AlignBottom
|
horizontalAlignment: Text.AlignHCenter
|
||||||
|
verticalAlignment: Test.AlignVCenter
|
||||||
}
|
}
|
||||||
|
|
||||||
Repeater {
|
Repeater {
|
||||||
|
|
Loading…
Reference in a new issue