Jump to content


Photo

Creating moving/running label

running moving label

  • Please log in to reply
3 replies to this topic

#1 Mouneer

  • Member
  • 13 posts

0
Neutral

Posted 18 June 2016 - 10:22

Hi All,

 

I need to make a text displayed by Label class to be moving like that:

 

file-lLbKQGjUxx.gif

Currently, I have a working label fixed with the following headlines:

self["myLabel"] = Label("My fixed text")
<screen position="0,0" size="300,300" zPosition="10" backgroundColor="#ff000000"
        title="My text" flags="wfNoBorder">
    <widget name="myLabel" position="10,10" size="300,30"
            font="Regular;26" valign="center" halign="center"
            backgroundColor="#ff000000" transparent="1"/>
</screen>
How can this be accomplished? 

Edited by Mouneer, 18 June 2016 - 10:24.


Re: Creating moving/running label #2 Mouneer

  • Member
  • 13 posts

0
Neutral

Posted 19 June 2016 - 10:33

I have been searching the web for 3 days looking for something similar but couldn't found something related. Your help is always appreciated.



Re: Creating moving/running label #3 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 19 June 2016 - 11:41

I have no idea of this could be of any help but maybe you can look at this topic?: http://forums.openpl...li3-dreamboxes/

 

 



Re: Creating moving/running label #4 fairbird

  • Senior Member
  • 413 posts

+20
Neutral

Posted 19 June 2016 - 14:24

You need to use Converter and render from attach with this widget

<widget source="session.CurrentService" render="RunningText" position="0,0" size="800,40" noWrap="1" zPosition="2" transparent="1" backgroundColor="background" foregroundColor="white" font="Regular;30" valign="center" halign="left" options="movetype=running,direction=left,step=5,steptime=25,startdelay=1000,pause=1000,startpoint=435,always=1">
    <convert type="StaticText">Type here what you want to show</convert>
  </widget>

Attached Files


Edited by fairbird, 19 June 2016 - 14:26.

DM500s
DM800

DM800se

DM920UHD



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users