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

[FEATURE] Make text box size of TextQuestion adjustable #5438

Open
MoritzLaurer opened this issue Aug 28, 2024 · 1 comment
Open

[FEATURE] Make text box size of TextQuestion adjustable #5438

MoritzLaurer opened this issue Aug 28, 2024 · 1 comment

Comments

@MoritzLaurer
Copy link
Contributor

Is your feature request related to a problem? Please describe.
The text box of a TextQuestion is by default 5 rows high (the height is partially adjusted depending on screen size I think). Problems:

  1. When I have many different questions, including text questions, the questions don't fit on the screen anymore and users are forced to scroll down.
  2. The default size of the text box also conveys a certain expectation of the expected text input length, while sometimes one might to nudge the annotator towards writing shorter or longer texts.

Describe the solution you'd like
Add a parameter to TextQuestion such as n_rows, which enforces how high / how many text rows the empty text field has when it is initially shown.

Describe alternatives you've considered
None, but I might be missing something.

Additional context
This feature would be nice to have, but not super important/ not urgent.

@nataliaElv
Copy link
Member

hey @MoritzLaurer ! Could you check if the new flexible text boxes from version 2.1.0 would fix your issue?

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