2010-10-27, 18:19
Hi,
I'm modding confluence for some custom icons. (e.g. genre-icons)
I changed in ViewFileMode.xml:
to... but the fallback doesn't work.
It works with "hardcoded" filenames (e.g. DefaultFolder.png), but that doesn't cover everything.
Can't I use lables as attributes?
Here you can see an example, there is no year.png, so it still displays the actor icon (which I had to copy as Actors.png to custom folder) -or nothing- instead of showing DefaultFolder.png from fallback.
... or is there any boolean condition for the visible-tag which checks if a file exists? (or something I could use)
thanks in advance
f
I'm modding confluence for some custom icons. (e.g. genre-icons)
I changed in ViewFileMode.xml:
Code:
<texture background="true">$INFO[ListItem.Icon]</texture>
Code:
<texture background="true" fallback="$INFO[ListItem.Icon]">$INFO[ListItem.Label,custom/,.png]</texture>
It works with "hardcoded" filenames (e.g. DefaultFolder.png), but that doesn't cover everything.
Can't I use lables as attributes?
Here you can see an example, there is no year.png, so it still displays the actor icon (which I had to copy as Actors.png to custom folder) -or nothing- instead of showing DefaultFolder.png from fallback.
... or is there any boolean condition for the visible-tag which checks if a file exists? (or something I could use)
thanks in advance
f