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

Force scrolling? #115

Open
gds3k3 opened this issue Mar 4, 2022 · 1 comment
Open

Force scrolling? #115

gds3k3 opened this issue Mar 4, 2022 · 1 comment

Comments

@gds3k3
Copy link

gds3k3 commented Mar 4, 2022

How can be forced the scrolling even when text is smaller than the container?

Thank you.

@deanhet
Copy link
Owner

deanhet commented Mar 7, 2022

I guess from a UX point, the library isn't built to scroll text that doesn't need to be.
You can 'fake' this by just making the string longer. So instead of writing it once on the view, make a function like repeat("shortString", 2) so the output is "shortString shortString" which would trigger it to scroll.

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

2 participants