I am trying to have my starting grid widget display a Subwidget with a label having a dynamic background of the car manufacturer. I have a folder named Cars in the content images folder. The path I used was Car/{0} and this wasnt working. How do I fix this issue.
I use this method to load the appropriate track map in my race info overlay, so it's working fine. Some things for you to check:
- The path might be case-sensitive. Are you sure the folder starts with a capital C? - Are you sure the Data Binding is to carid? - What format are your images? You didn't provide that in your example. So, for example, if in your "Cars/" folder, you have an image for the Mazda cup, it could be 67.png, in which case, your path definition needs to be "Car/{0}.png" - If all of that is set up correctly, it could be your sub widget is not visible. Lots of possible reasons for this. One trick i like to do is force the background of the subwidget to a bright colour so that i can see it's fully visible within the bounds of parent widget.
I hope one or more of those suggestions is helpful.
If you typed both correctly, your folder is named "Cars" but you typed "Car" in ATVO, meaning ATVO is looking for a "Car" folder and not "Cars". Everything else Jeremy typed is great troubleshooting.