Kodi Community Forum

Full Version: Variable-width progress bar?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
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)
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.
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?
Do you want it to change on-the-fly or just under certain circumstances?
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..