[mythtv-theming] can't override size of checkbox

Jonatan Lindblad mythtv at comhem.se
Sat Mar 16 17:55:00 UTC 2013


On 2013-03-16 16:41, Joey Morris wrote:
> I'm running 0.26-fixes. I've defined a checkbox widget in base.xml
> that looks something like this:
>
>      <checkbox name="base_checkbox">
>        <area>0,0,80,30</area>
>        ...
>      </checkbox>
>
> In recordings-ui.xml, I want to inherit from base_checkbox and
> override the y-position and the width, so I tried this:
>
>      <checkbox name="titles" from="base_checkbox">
>        <area>0,120,500,30</area>
>      </checkbox>
>
> However, only the y-position was changed. The width was still 80. I
> also tested the height, and I couldn't override that, either. I looked
> at a few themes, and I could only find examples of people overriding
> the checkbox's position, never its size. Is the inability to override
> the size a design decision or a bug?

It would help if you showed us the complete definition of base_checkbox, 
although I think you're simply not setting the area of the statetypes or 
their children to say 0,0,100%,100%.

--
Jonatan


More information about the mythtv-theming mailing list