Jump to content


Photo

new NextEpgInfo


  • Please log in to reply
3 replies to this topic

#1 mrvica

  • Senior Member
  • 1,224 posts

+81
Good

Posted 24 September 2017 - 17:51

https://github.com/O.../NextEpgInfo.py

has now some more options

NumberOfItems="xx"

numOfSpaces="x" --> distance between time and item

timeColor="xx" --> the color for next times

foregroundColor="xx"  --> items color

noLabel="0"  --> the label "Next" is shown

labelColor="xx" -->define color for the word "Next"

noLabel="1"  --> nothings is shown, now you can put your own label, e.g. "following"

now small cosmetic error, 1st item takes now label position, just slides upwards, should remain at the same position

could you fix that

 



Re: new NextEpgInfo #2 ims

  • PLi® Core member
  • 13,623 posts

+212
Excellent

Posted 24 September 2017 - 19:03

 

noLabel="1"  --> nothings is shown, now you can put your own label, e.g. "following"

 

No, it was not made for this feature ("now you can put your own label"). It is or label or without label.


Kdo nic nedělá, nic nezkazí!

Re: new NextEpgInfo #3 mrvica

  • Senior Member
  • 1,224 posts

+81
Good

Posted 25 September 2017 - 07:05

I think, I didn´t express myself well, this is with label, everything ok
<widget source="ServiceEvent" render="NextEpgInfo" position="960,52" size="305,440" backgroundColor="neutrinoBG" noWrap="1" font="Regular;20" NumberOfItems="18" noLabel="0" labelColor="neutrino2ndFG" numOfSpaces="3" timeColor="neutrino2ndFG" foregroundColor="white" />

 

this is with my label, because I prefer uppercase and a bit more distance between the label and the list

<eLabel backgroundColor="neutrinoBG" font="Regular;18" foregroundColor="neutrino2ndFG" position="960,48" size="200,18" text="NEXT" />
-----------------------------
<widget source="ServiceEvent" render="NextEpgInfo" position="960,52" size="305,440" backgroundColor="neutrinoBG" noWrap="1" font="Regular;20" NumberOfItems="18" noLabel="1" labelColor="neutrino2ndFG" numOfSpaces="3" timeColor="neutrino2ndFG" foregroundColor="white" />

 

I think one leading new line \n is needed in that case, well I could adjust the position of the list, to be more flexible, better will be the fix, the list remains at the same position

Attached Files



Re: new NextEpgInfo #4 ims

  • PLi® Core member
  • 13,623 posts

+212
Excellent

Posted 25 September 2017 - 10:11

Nonsence ...

 

noLabel="1" means without Label and without lavel not means "empty line instead label" and never will be !

 

noLabel="0" ... epg begins on 2. line  (on line 1 is label)

noLabel="1" ... epg begins on 1. line

 

 

You must rearange x,y for your own label and for nextepg


Edited by ims, 25 September 2017 - 10:15.

Kdo nic nedělá, nic nezkazí!


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users