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

Scroll text horizontally, force text into two lines only #982

Open
JanVeb opened this issue Feb 4, 2022 · 1 comment
Open

Scroll text horizontally, force text into two lines only #982

JanVeb opened this issue Feb 4, 2022 · 1 comment

Comments

@JanVeb
Copy link

JanVeb commented Feb 4, 2022

Hi there, really great project,
wanted to ask if its possible to force text to be displayed in two lines only, have correct answer and then user answer and I want to be able to show one under the other so user can easily compare where did he go wrong.

I do this by text: 'Score Notes: ' + window.scoreNotes + '\n' + 'Your Input: ' + window.userNotes,
which works fine, but when I have large text it breaks into multiple lines making it very hard to keep track of it.

What Im looking for is to force these two lines to go for as long as needed with possibility to scroll horizontally in order to move to desired position so user could compare his input with desired input.

Thank

@lionralfs
Copy link
Collaborator

Would something like this work?

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