Debug tools for skinning - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67) +--- Thread: Debug tools for skinning (/showthread.php?tid=226451) |
Debug tools for skinning - DanWho - 2015-05-08 Hi Can you name a few tools/addons I can use for making skinning easier. I am using the Gridview and Info Labels but I would ideally like to use a tool which allows me to get Info such as Window Id, Window Name, Control Id and Type and so on. RE: Debug tools for skinning - ronie - 2015-05-08 you can set debugging="true" in the addon.xml file of your skin. that will print some additional info on-screen: - window name - xml file name - id of the focussed control - type of the focussed control - x,y position of the cursor RE: Debug tools for skinning - Hitcher - 2015-05-09 @ronie Is there any other way to trigger debugging? eg mapped to a keyboard button. RE: Debug tools for skinning - ronie - 2015-05-09 currently, nope.. this does the trick though: https://github.com/ronie/xbmc/commit/74bd7613f00a4709eac85d9db5edd35726a142cc but whether that is acceptable code remains to be seen ;-) will have to bug one of the kodi devs to review. RE: Debug tools for skinning - DanWho - 2015-05-09 Thanks for the tip, that helped me a lot. But somtimes the info goes out of screen like in the screen shot, Anyway that I can wrap the text ? Image RE: Debug tools for skinning - ronie - 2015-05-09 nope, the only thing you can do is to pick a smaller fontsize. for the debug text, kodi uses font13 from your Fonts.xml files, so define a smaller size there. RE: Debug tools for skinning - Hitcher - 2015-05-09 (2015-05-09, 13:52)ronie Wrote: currently, nope.. Cheers ronie. RE: Debug tools for skinning - DanWho - 2015-05-11 Thanks for the info |