[mythtv-users] Channel icons in EPG stretched

Christopher Meredith chmeredith at gmail.com
Thu Jul 16 14:56:32 UTC 2009


On Thu, Jul 16, 2009 at 9:23 AM, Robert McNamara
<robert.mcnamara at gmail.com>wrote:

>
>
> On Thu, Jul 16, 2009 at 5:26 AM, Christopher Meredith <
> chmeredith at gmail.com> wrote:
>
>>
>>
>> On Wed, Jul 15, 2009 at 9:50 PM, Robert McNamara <
>> robert.mcnamara at gmail.com> wrote:
>>
>>> Further, I also force the aspect in my theme.  I don't want random aspect
>>> channel icons floating around.  I want them all in the same shape.  It's a
>>> design decision.  I hope the preceding message cleared this up for you.  It
>>> is not a bug.
>>
>>
>> Are you saying the behavior I am seeing is the intended behavior? You
>> indicated earlier that you were not seeing what I was describing, which made
>> me think my experience was an abberation. That's why I pointed out that even
>> the .21 themes were doing that.
>>
>
> I am not experiencing any issue wherein preserveaspect does not behave as
> expected.  When set to true, aspect is preserved.  When set to false or left
> defaault, it is not.  Tested, confirmed, then tested and confirmed again.
> You just have to toggle it in the correct spot.  You are not looking in the
> correct spot.
>
>
>
>>
>>
>> As far as the xml goes, according to the MythUI development wiki, "[t]he
>> schedule-ui.xml file governs the layout and behavior of the EPG (Program
>> Guide) and all recording scheduling screens." That's why I believed that the
>> xml I posted earlier dealt with channel icons. It's straight out of
>> schedule-ui.xml and it's the only place "icon" occurs.
>>
>
> Once again, you are looking at the wrong buttonlist, and the word icon most
> definitely *does* appear elsewhere.  I think you may not understand what is
> going on in the themes.  Again, "channellist" is the buttonlist which
> governs where, whether, and how the EPG channel icons will appear.  I
> promise.  You are looking at the right file, but the wrong window and wrong
> buttonlist.
>

I believe you. All I'm saying is that I thought you were trying to tell me
earlier that the theme BY DEFAULT is not supposed to change the aspect pf
the icons and that on your box, the aspect was being maintained by default.
Obviously, I misunderstood you. Also, I never meant to represent that I know
what I'm doing with the themes. I clearly do not. I'm banging around in the
dark, trying to figure out what is going on. Now I'm in the right spot I
assume:

<buttonlist name="channellist">
            <area>0,99,240,700</area>
            <layout>vertical</layout>
            <spacing>2</spacing>
            <buttonarea>0,0,240,700</buttonarea>
            <statetype name="buttonitem">
                <state name="active">
                    <area>0,0,250,70</area>
                    <shape name="background">
                        <area>0,0,250,70</area>
                        <fill color="#767662" alpha="180" />
                    </shape>
                    <imagetype name="channelicon">
                        <area>0,1,86,70</area>
                        <mask>guide/icon_mask.png</mask>
                    </imagetype>
                    <textarea name="buttontext" from="basetextarea">
                        <area>85,0,160,70</area>
                        <font>basesmall</font>
                        <font state="favourite">basesmallyellow</font>
                        <font state="unavailable">basesmallblue</font>
                        <font state="favunavailable">basesmallpurple</font>
                        <align>allcenter</align>
                        <multiline>yes</multiline>
                    </textarea>
                </state>
                <state name="selected" from="active" />
                <state name="inactive" from="active" />
            </statetype>
        </buttonlist>

All I need to do is add <preserveaspect>true</preserveaspect> after
<mask>guide/icon_mask.png</mask>, yes? I'm not home at the moment so I can't
test it right now, but it would help to know whether I'm finally barking up
the right tree.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20090716/7f09cd2f/attachment.htm>


More information about the mythtv-users mailing list