View Full Version : Webradio (kmlbrowse) slight niggle
does anyone know why this could be happening (see pic below). the descriptions for the stations appear to be cut short. this has happened for alot of builds of xbmc now.
(currently using xbmc.cvs.06.28.05)
tia
http://www.artnada.pwp.blueyonder.co.uk/xbmc/webradio.jpg
jmarshall
2005-07-05, 17:51
it's because the script uses label controls with a set <width> that isn't wide enough.
thx for your reply.
where would i edit to allow a bigger width?
i have posted the script below to see.
pastebin (http://pastebin.com/307828)
jmarshall
2005-07-05, 18:28
self.additem(xbmcgui.controllabel(getx(el.getattri bute("coords")), gety(el.getattribute("coords")), 200, 30, text, getfont(el.getattribute("font")), getcolor(el.getattribute("pen"))))
change the 200 to something larger. try 480 or so to begin with, and modify until it is full width.
thankyou very much. :bowdown: worked a treat :fixed:
before
http://www.artnada.pwp.blueyonder.co.uk/xbmc/webradio.jpg
after
http://www.artnada.pwp.blueyonder.co.uk/xbmc/webradio2.jpg
jmarshall
2005-07-05, 20:02
i suggest you make it a bit wider still then upload the fixed version to www.xbmcscripts.com so that others can benefit.
that's the widest it would go. i went right upto 600 and it never changed from the fixed width you see.