hi i am following nifty tutorials and cant get the simplest example of custom control to work.
The tutorial has this code :
[xml]
<?xml version="1.0" encoding="UTF-8"?>
<nifty-controls>
<controlDefinition style="nifty-button" name="button">
<panel style="#panel" focusable="true">
<text id="#text" style="#text" text="$label"/>
</panel>
</controlDefinition>
</nifty-controls>
[/xml]
- Can anyone post the simplest (as simple as it can be) control that works, because this code doesnt work. It makes nifty fatally crash silently without any warning or exception and replaces gui with a black screen when i import it :
[xml]<useControl filename="Interface/nifty/controls/control.xml" />[/xml]
It may be that it doesnt find something that it searches ?
Thank you