JHTickerView icon indicating copy to clipboard operation
JHTickerView copied to clipboard

Define starting position of text

Open RoLYroLLs opened this issue 10 years ago • 1 comments

Hey @jeffhodnett,

:+1: Awesome work! I just ran into needing this type of implementation and it works great!

I haven't tried looking though the code to see how to do this, so I decided to write to you instead. Can you add the ability to have the text start at a certain position?

For example: I'd like to have the ticker show text positioned to the left, any overflowing text will be cut. After X amount of seconds I will call the start method and the scrolling can start.

RoLYroLLs avatar Sep 09 '14 02:09 RoLYroLLs

Im sure you can modify the existing code to do this, maybe create new param to pass with the string to specify the starting position/char index if required. So please feel free to send a pull request.

Will see if i have time in a few weeks to come to this, but am v busy at the moment.

jeffhodnett avatar Sep 09 '14 16:09 jeffhodnett