mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 22:29:24 +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 {
|
||||
text: {
|
||||
var match = resource.match(/\/([^/]*)$/);
|
||||
return match ? match[1] : resource;
|
||||
}
|
||||
font.pointSize: 12
|
||||
Column {
|
||||
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: assetType
|
||||
font.pointSize: 10
|
||||
Layout.preferredWidth: root.width * .2
|
||||
horizontalAlignment: Text.AlignBottom
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
verticalAlignment: Test.AlignVCenter
|
||||
}
|
||||
|
||||
Repeater {
|
||||
|
|
Loading…
Reference in a new issue