Beautiful dynamic tables?
#1
The only real case example I could find is this soccer standings.

Supposedly from a database and I want to display data in a python Window or something, but make it beautiful:
- auto scroll ;
- colored text (if score is low make text red, if score is good make text green)
- icons and other graphical elements. Seen here, change icon left of logo according to the dynamic of the table.


Can't find a good and scale-able solution to this:
- tried adding multiple text-boxes controls, one for each column (rows defined with the [CR] formatter) - > text scrolls but I can't control font properties of individual rows.
- tried using ControlFadeLabel, but again, I can only alter font properties of the ControlFadeLabel object and not of the items I dynamically add.

Might be that I have to use a combination of python xbmc and xml, but I need a bit of guidance.
Reply
#2
Check out the source for this Add-on that does football tables rather well:

https://github.com/enen92/script.matchcenter

Image

Actual skinning stuff here

https://github.com/enen92/script.matchce...Tables.xml
Reply
#3
so a good solution would be creating a template in xml and then feed content from python plugin/addon
Reply

Logout Mark Read Team Forum Stats Members Help
Beautiful dynamic tables?0