Debug tools for skinning
#1
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.
Reply
#2
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
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
@ronie Is there any other way to trigger debugging? eg mapped to a keyboard button.
Reply
#4
currently, nope..

this does the trick though:
https://github.com/ronie/xbmc/commit/74b...5726a142cc

but whether that is acceptable code remains to be seen ;-)
will have to bug one of the kodi devs to review.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#5
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
Reply
#6
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.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#7
(2015-05-09, 13:52)ronie Wrote: currently, nope..

this does the trick though:
https://github.com/ronie/xbmc/commit/74b...5726a142cc

but whether that is acceptable code remains to be seen ;-)
will have to bug one of the kodi devs to review.

Cheers ronie.
Reply
#8
Thanks for the info
Reply

Logout Mark Read Team Forum Stats Members Help
Debug tools for skinning0