Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto Scrolling Paused #287

Open
Armi4d opened this issue Aug 9, 2022 · 3 comments
Open

Auto Scrolling Paused #287

Armi4d opened this issue Aug 9, 2022 · 3 comments

Comments

@Armi4d
Copy link

Armi4d commented Aug 9, 2022

Hi, Mr.Powell
First thing first, I really appreciate your code however I faced some problem.

Expected Behavior

I want the marquee label to keep auto scrolling without stopping

Actual Behavior

It suddenly stop after the text is finished for a short instance before start scrolling again.

I want to know if there is any possible way to prevent this happening.

Thank you

@Armi4d
Copy link
Author

Armi4d commented Aug 9, 2022

PS- I dont need the data to change like one of the issues already instated.

@RezamirRahizar
Copy link

RezamirRahizar commented Mar 12, 2024

@Armi4d you can achieve this by setting the animationDelay to 0.

@cbpowell
Copy link
Owner

Sorry I never replied on this one! @RezamirRahizar is right, you can set the delay to zero and there won’t be an intentional pause.

That said, MarqueeLabel isn’t particularly optimized for the use case of a constant speed scroll with zero delay. I think it’s gotten better with modern hardware, but you might see a small stutter as it restarts the animation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants