[mythtv] blootubelite-wide question

Paul Harrison mythtv at dsl.pipex.com
Tue Feb 5 16:41:27 UTC 2008

Stuart Morgan wrote:
> On Tuesday 05 February 2008 15:55:51 Paul Harrison wrote:
>> Justin Hornsby wrote:
>>> Heh I made a boob.  Those co-ordinates are relative to the container
>>> area, not absolute.  Anyway, I can't reproduce it here so I think it's
>>> related to another recently opened ticket where the guide icons are
>>> appearing to be too big.
>>> Justin
>> I noticed this when looking at ticket #4592. It works fine if you use a
>> resolution with the correct aspect ratio say 1280x720 but doesn't with
>> say 900x600.
>> I think the problem here is the icon that gets created is always square
>> say 60x60 and gets the dimensions of the _width_ of the UIType that
>> displays the icon. It never takes the height of the UIType into account
>> which may be smaller that the width especially if the user is using a
>> non standard resolution.
> I can fix this if you want, I've already done the same for the preview images 
> in 'Watch Recordings'.
I've just commited a quick fix that seems to fix things for me. We
should have been using the scaled size of the UIImageType for the icon
size not the unscaled size.

Paul H.

More information about the mythtv-dev mailing list