Kodi Community Forum
Req $CONSTANT[] label formatting - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
--- Thread: Req $CONSTANT[] label formatting (/showthread.php?tid=265442)



$CONSTANT[] label formatting - Jayz2K - 2016-03-22

Hi, could it be possible to get the constant to show as an infolabel $CONSTANT[MyConstantName] for use with this :

https://github.com/marcelveldt/script.skin.helper.service#write-constants-to-includes-file

And also be handled in positioning / sizing tags (<left><width> etc.) so it could also probably solve my previous report the same way ?

265437 (thread)

Code:
<include name="Constant1Test">
      <control type="image">
           <left>$CONSTANT[$PARAM[left]]</left>
           ...
      </control>
</include>

Thanks