Author Topic: Bitmap based skins  (Read 118152 times)

hiccup

  • Sr. Member
  • ****
  • Posts: 7856
It crashes frequently on me too.
But it's always my fault as a result of me having made a mistake in my skin.xml

So, are you sure the skin.xml you are using is in perfect order?
(all elements in it having correct references and relationships etc.)

For me, when there are mistakes in it, it crashes with a crash report pop-up that leads me in the right direction to fix the issue.
How does it crash for you?

Mayibongwe

  • Sr. Member
  • ****
  • Posts: 1044
  • Heal The World
Suppose I wanted to add an image to the player panel that serves no purpose at all (function wise).
How would I go about defining it in the skin.xml? What do I use for the element id?
When I leave the id  part blank, the skin creator successfully loads the image when I run the program...but then crashes when I click the save button.

Code
<element id="????????" parent="Panel">
  <left relativeTo="Panel.Left" />
  <right relativeTo="Panel.Right" />
  <top relativeTo="Panel.Top" />
  <bottom relativeTo="Panel.Bottom" />
  <images category="Background" default="Images\MusicBee.png" />
</element>
Favourite tune at the moment:   Dearly Beloved by Yoko Shimomura from the Kingdom Hearts soundtrack

hiccup

  • Sr. Member
  • ****
  • Posts: 7856
Suppose I wanted to add an image to the player panel that serves no purpose at all (function wise).
How would I go about defining it in the skin.xml? What do I use for the element id?
This is something I have had a desire to do too, but I have never been able to find a way to do it.
It's probably a good candidate for the skinning wishlist…