Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Theming

How many themes use percentages or offsets inside buttonlists?

 

 

MythTV theming RSS feed   Index | Next | Previous | View Threaded


jppoet at gmail

Feb 1, 2012, 8:44 PM

Post #1 of 6 (613 views)
Permalink
How many themes use percentages or offsets inside buttonlists?

Right now, there is a flaw in the "area" inherited by a buttonlist --
instead of the buttonitem inheriting the <buttonarea>, it inherits the
"full" <area>. Inside the buttonlist, if you specify an absolute
value for the button's width, this does not cause any problems.
However, if you use percentages or offset, then it causes a problem,
and must be compensated for.

For example, if I have

<buttonarea>25, 0, -25, 100%</buttonarea>

Then inside the buttonitem's states, I must do

<area>0, 0, -50, 60</area>

to compensate for the buttonarea being 50 smaller than the full area.

I can fix this flaw in the MythUI code, however it would break any
themes which use percentages/offsets, and have "compensated" for the
area being wrong.

I would like to hear opinions on whether this flaw should be fixed, or
left alone.


Thanks,

John
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
_______________________________________________
mythtv-theming mailing list
mythtv-theming [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-theming


chris at westnet

Feb 2, 2012, 5:59 AM

Post #2 of 6 (586 views)
Permalink
Re: How many themes use percentages or offsets inside buttonlists? [In reply to]

On Wed, 1 Feb 2012, John P Poet wrote:

> I can fix this flaw in the MythUI code, however it would break any
> themes which use percentages/offsets, and have "compensated" for the
> area being wrong.
>
> I would like to hear opinions on whether this flaw should be fixed, or
> left alone.

I would say fix it on some major upgrade, where other updates to themes will
be necessary anyway.

==========================================================
Chris Candreva -- chris [at] westnet -- (914) 948-3162
WestNet Internet Services of Westchester
http://www.westnet.com/
_______________________________________________
mythtv-theming mailing list
mythtv-theming [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-theming


trebor_s at web

Feb 2, 2012, 1:35 PM

Post #3 of 6 (581 views)
Permalink
Re: How many themes use percentages or offsets inside buttonlists? [In reply to]

Am 02.02.2012 14:59, schrieb Christopher X. Candreva:

> On Wed, 1
Feb 2012, John P Poet wrote:
>
>> I can fix this flaw in the MythUI
code, however it would break any themes which use percentages/offsets,
and have "compensated" for the area being wrong. I would like to hear
opinions on whether this flaw should be fixed, or left alone.
>
> I
would say fix it on some major upgrade, where other updates to themes
will
> be necessary anyway.

I also vote for fix it. I will update the
Blue-Abstract theme where required.

Robert S


jppoet at gmail

Feb 2, 2012, 1:58 PM

Post #4 of 6 (586 views)
Permalink
Re: How many themes use percentages or offsets inside buttonlists? [In reply to]

On Thu, Feb 2, 2012 at 2:35 PM, Robert Siebert <trebor_s [at] web> wrote:
> Am 02.02.2012 14:59, schrieb Christopher X. Candreva:
>
> On Wed, 1 Feb 2012, John P Poet wrote:
>
> I can fix this flaw in the MythUI code, however it would break any themes
> which use percentages/offsets, and have "compensated" for the area being
> wrong. I would like to hear opinions on whether this flaw should be fixed,
> or left alone.
>
> I would say fix it on some major upgrade, where other updates to themes will
> be necessary anyway.
>
> I also vote for fix it. I will update the Blue-Abstract theme where
> required.
>
> Robert S

Stuart Morgan has veto rights (of course), but as it stands now, I am
planning on committing a fix on Sunday.

Thanks,

John
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
_______________________________________________
mythtv-theming mailing list
mythtv-theming [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-theming


federico.ferri at yahoo

Feb 3, 2012, 12:52 AM

Post #5 of 6 (580 views)
Permalink
Re: How many themes use percentages or offsets inside buttonlists? [In reply to]

In data giovedì 2 febbraio 2012 22:35:11, Robert Siebert ha scritto:
>
> Am 02.02.2012 14:59, schrieb Christopher X. Candreva:
>
> > On Wed, 1
> Feb 2012, John P Poet wrote:
> >
> >> I can fix this flaw in the MythUI
> code, however it would break any themes which use percentages/offsets,
> and have "compensated" for the area being wrong. I would like to hear
> opinions on whether this flaw should be fixed, or left alone.
> >
> > I
> would say fix it on some major upgrade, where other updates to themes
> will
> > be necessary anyway.
>
> I also vote for fix it. I will update the
> Blue-Abstract theme where required.
>
> Robert S
>

I agree fix it now.
I need to upgrade my theme yet for 0.25 ...i will do that too.

Federico
_______________________________________________
mythtv-theming mailing list
mythtv-theming [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-theming


jppoet at gmail

Feb 10, 2012, 8:56 AM

Post #6 of 6 (543 views)
Permalink
Re: How many themes use percentages or offsets inside buttonlists? [In reply to]

On Fri, Feb 3, 2012 at 1:52 AM, Federico Ferri <federico.ferri [at] yahoo> wrote:
> In data giovedì 2 febbraio 2012 22:35:11, Robert Siebert ha scritto:
>>
>> Am 02.02.2012 14:59, schrieb Christopher X. Candreva:
>>
>> > On Wed, 1
>> Feb 2012, John P Poet wrote:
>> >
>> >> I can fix this flaw in the MythUI
>> code, however it would break any themes which use percentages/offsets,
>> and have "compensated" for the area being wrong. I would like to hear
>> opinions on whether this flaw should be fixed, or left alone.
>> >
>> > I
>> would say fix it on some major upgrade, where other updates to themes
>> will
>> > be necessary anyway.
>>
>> I also vote for fix it. I will update the
>> Blue-Abstract theme where required.
>>
>> Robert S
>>
>
> I agree fix it now.
> I need to upgrade my theme yet for 0.25 ...i will do that too.
>
> Federico

This change has been committed to master. It does not look like
relative offset/sizes are used much in existing themes, so the impact
should be minimal.


John
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
_______________________________________________
mythtv-theming mailing list
mythtv-theming [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-theming

MythTV theming RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.