Original issue 1267 created by codenameone on 2015-01-08T07:51:58.000Z:
Delay time in Label tickering can be set but not the amount of pixel the text should shift.
Currently the "shiftText += 2" and "shiftText -= 2" under animate() method in Label class is set to shift constantly by 2 pixel which makes tickering extremely slow on high dpi displays and slow on low dpi displays.
If the value of shiftText can be set based on displayWidth, it will make tickering speed consistent across different screens.
What steps will reproduce the problem?
- Create a Label with text and set setTickerEnabled(true) and setEndsWith3Points(false).
- Start the tickering with startTicker(10, true).
- Run the app on simulator using iPhone3gs_OS7 skin, then change to iPhone6_Plus skin and watch the tickering speed as it become very slow despite using the same delay.
What is the expected output? What do you see instead?
I expect the tickering speed to be consistent across different devices, most importantly... faster on high dpi devices.
Original issue 1267 created by codenameone on 2015-01-08T07:51:58.000Z:
Delay time in Label tickering can be set but not the amount of pixel the text should shift.
Currently the "shiftText += 2" and "shiftText -= 2" under animate() method in Label class is set to shift constantly by 2 pixel which makes tickering extremely slow on high dpi displays and slow on low dpi displays.
If the value of shiftText can be set based on displayWidth, it will make tickering speed consistent across different screens.
What steps will reproduce the problem?
What is the expected output? What do you see instead?
I expect the tickering speed to be consistent across different devices, most importantly... faster on high dpi devices.