[mythtv-theming] Question about progressbar widget
Paul Harrison
mythtv at sky.com
Wed Jul 3 06:20:15 UTC 2013
>________________________________
> From: Jean-Yves Avenard <jyavenard at gmail.com>
>To: Discussion about MythTV theming <mythtv-theming at mythtv.org>
>Sent: Wednesday, 3 July 2013, 3:00
>Subject: [mythtv-theming] Question about progressbar widget
>
>
>
>Hi there.
>
>
>Trying to understand how to size a progress bar.
>
>
>it seems to completely ignore the dimension I give, only using the dimension from the one it's inheriting from.
>
>
>Example:
>I have a progress bar like so:
> <progressbar name="progress"from="baseprogressbar">
> <area>170,140,100%-20,20</area>
> <layout>horizontal</layout>
> <style>reveal</style>
> </progressbar>
>
>
>It really makes no difference to which width I provide. Here I have 100%-20, but I could have 10 for all I care and the appearance is identical.
>Problem is that if I make my window smaller, then the progress bar sticks out of it. I can't make it fit within the parent window; I have to define the parent window size to make the scroll bar fit.
>
>
>Any experience on this topic that could help me?
>Thanks
>
>
I remember wrestling with this when I wanted a smaller progress bar on the watch recordings screen. This is what I used in the end :-
http://code.mythtv.org/cgit/mythtv/tree/mythtv/themes/MythCenter-wide/recordings-ui.xml#n430
Hope it helps.
Paul H
More information about the mythtv-theming
mailing list