Variable-width progress bar?
#1
Is it possible? I gather the current progress control bases its width on a texture rather than anything in xml - or is that completely wrong?
www: deadendthrills.com
follow on twitter for updates, etc: @deadendthrills
Reply
#2
If you use a scalable texture it doesn't matter what the width is (<reveal> is false) You can also use a set width texture to reveal on player progress (<reveal> is true)
Reply
#3
I've had problems with the other progress bar texture sizes and positions when the <texturebg> source image size didn't match the width defined in the control.
www: deadendthrills.com
follow on twitter for updates, etc: @deadendthrills
Reply
#4
Hate to bump but is there a final word on this? Any time I don't match texturebg to the width used in Kodi, I get mad distortion of the bar and its other textures. Is there a working example somewhere?
www: deadendthrills.com
follow on twitter for updates, etc: @deadendthrills
Reply
#5
Do you want it to change on-the-fly or just under certain circumstances?
Reply
#6
Can you post code please? I know in Jarvis there was a small code addittion that meant if you missed it out caused the bar to just draw nutso, but I cant remember what it was atm..
Reply

Logout Mark Read Team Forum Stats Members Help
Variable-width progress bar?0