[mythtv-users] Channel icons in EPG stretched

Christopher Meredith chmeredith at gmail.com
Tue Jul 14 13:49:33 UTC 2009


On Sat, Jul 11, 2009 at 12:54 PM, Christopher Meredith <chmeredith at gmail.com
> wrote:

>
>
> On Sat, Jul 11, 2009 at 12:17 PM, Robert McNamara <
> robert.mcnamara at gmail.com> wrote:
>
>> On Sat, Jul 11, 2009 at 10:09 AM, Christopher
>> Meredith<chmeredith at gmail.com> wrote:
>> > I've started adding channel icons and I am noticing that in the frontend
>> > (EPG and OSD) the channel icons are streched horizonally. They look fine
>> in
>> > MythWeb. I am using the Terra widescreen theme, and I used to notice
>> this
>> > same behavior in 0.21 with the Mythbuntu theme. I haven't tried other
>> > themes. I am using 200x200 .png format for the icons.
>> >
>>
>> Themes determine whether the images preserve aspect or do not.  Your
>> issue is theme related.
>>
>> > Is this something that's fixable, or do I just have to live with it?
>> >
>>
>> You can learn themeing and adjust it as you desire :)
>>
>> Robert
>
>
> This appears to be the section of schedule-ui.xml that deals with channel
> icons:
>
>         <buttonlist name="channels" from="basebuttonlist2">
>             <area>25,52,1200,380</area>
>             <buttonarea>0,0,1200,380</buttonarea>
>             <statetype name="buttonitem">
>                 <state name="active">
>                     <imagetype name="icon">
>                         <area>0,0,25,25</area>
>                         <preserveaspect>true</preserveaspect>
>                     </imagetype>
>                     <statetype name="status">
>                         <position>30,0</position>
>                     </statetype>
>                     <textarea name="channum" from="buttontext">
>                         <area>60,1,150,24</area>
>                     </textarea>
>                     <textarea name="callsign" from="channum">
>                         <area>220,1,250,24</area>
>                     </textarea>
>                     <textarea name="name" from="channum">
>                         <area>570,1,500,24</area>
>                     </textarea>
>                     <textarea name="priority" from="channum">
>                         <area>1140,1,30,24</area>
>                         <align>right</align>
>                     </textarea>
>                 </state>
>                 <state name="selected" from="active" />
>                 <state name="inactive" from="active" />
>             </statetype>
>             <statetype name="upscrollarrow">
>                 <position>1190,5</position>
>             </statetype>
>             <statetype name="downscrollarrow">
>                 <position>1190,350</position>
>             </statetype>
>         </buttonlist>
>
>         <imagetype name="icon">
>             <area>330,475,200,150</area>
>             <preserveaspect>true</preserveaspect>
>         </imagetype>
>
>
> It looks like both times the image is called, it is set to "preserveaspect"
> true. Nevertheless, it appears stretched. Have I missed something here?
>

Does anyone have an idea about this? Or is anyone noticing the same
behavior?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20090714/184b4b91/attachment.htm>


More information about the mythtv-users mailing list