[QUESTION] label positioning based on prior labels - possible? - 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: [QUESTION] label positioning based on prior labels - possible? (/showthread.php?tid=55746) Pages:
1
2
|
- minimalko - 2009-08-26 Turambar, thanks this is very useful. Does what it supposed to do but gives me an error window before. - Turambar - 2009-09-01 What does the error window say? - Feanor - 2009-09-01 minimalko Wrote:Turambar, thanks this is very useful. Does what it supposed to do but gives me an error window before. What error do you get? it's running without errors on Concrete... - minimalko - 2009-09-01 I used it on horizontal grouplist of options. The dialog didnt say anything specific just the regular python script loading error. - azido - 2009-09-01 minimalko Wrote:I used it on horizontal grouplist of options. The dialog didnt say anything specific just the regular python script loading error. xbmc.log does report what's wrong there. if it doesn't with standard log, add the following to advancedsettings.xml (assuming you're using a recent svn version) <loglevel hide="false">1</loglevel> this will give you debug infos. - minimalko - 2009-09-01 I recreated the error and this is what Debug Log has to say Code: RunScript(special://skin/scripts/FixLabelWidth.py,2,3,4,99,100) - azido - 2009-09-01 minimalko Wrote:I recreated the error and this is what Debug Log has to say so this is the interesting part: 20:25:55 T:5824 M:2258690048 NOTICE: File "D:\Program Files\XBMC\skin\SkinConcept\scripts\FixLabelWidth.py", line 29, in ? 20:25:55 T:5824 M:2258690048 NOTICE: Main() 20:25:55 T:5824 M:2258690048 NOTICE: File "D:\Program Files\XBMC\skin\SkinConcept\scripts\FixLabelWidth.py", line 21, in __init__ 20:25:55 T:5824 M:2258690048 NOTICE: control = currentWindow.getControl(int(id)) 20:25:55 T:5824 M:2258690048 NOTICE: Exception 20:25:55 T:5824 M:2258690048 NOTICE: : 20:25:55 T:5824 M:2258690048 NOTICE: Unknown control type for python 20:25:55 T:5824 M:2258690048 ERROR: Scriptresult: Error btw: what's that skin you're using? you have include errors you should fix. - minimalko - 2009-09-01 Now I have changed the ids of buttons to 90161 - 9064 and it works without errors. The problem here is I need to use this on button that changes sorting of container. I havent looked into this yet but I believe its id is hardcoded? The skin is WIP, those warnings are just leftovers from Empty. Will fix those at some point. - azido - 2009-09-01 minimalko Wrote:Now I have changed the ids of buttons to 90161 - 9064 and it works without errors. The problem here is I need to use this on button that changes sorting of container. I havent looked into this yet but I believe its id is hardcoded? think so, yes. if i were you i would place that button on 1st place and have the script working on the other buttons then. - eumel - 2010-01-07 is it possible to add a feature to the Label Formating that allows us to use more then one font in one label? like that: PHP Code: <label>[FONT text1]text[/font]</label> So i can use two $INFO[]'s in one label with different fonts. And the second info always sitting next to the first info. - jmarshall - 2010-01-07 Not easily, though if someone wants to do a patch I'll provide pointers. All these requests and noone to code them up - perhaps we need a way to make such requests official - perhaps using a trac category. Cheers, Jonathan - Hitcher - 2010-01-08 jmarshall Wrote:All these requests and noone to code them up - perhaps we need a way to make such requests official - perhaps using a trac category. |