Corak55
16-09-2014 10:44:39
Hello!
How do I set a relative path to an image, used in the ItemBox Widget?
Let's assume, the path to image would be "/graphics/stone.png"
Here is the widget code:
Kind regards,
- Corak
How do I set a relative path to an image, used in the ItemBox Widget?
Let's assume, the path to image would be "/graphics/stone.png"
Here is the widget code:
<Widget type="ImageBox" skin="ImageBox" position="25 25 140 140" align="Default" layer="2IMGlayer" name="2IMGname">
<Property key="Visible" value="true"/>
<Property key="Enabled" value="true"/>
<Property key="ImageTexture" value="stone.png"/>
<Property key="NeedMouse" value="true"/>
<Property key="NeedKey" value="true"/>
<Property key="InheritsAlpha" value="true"/>
</Widget>
Kind regards,
- Corak