MartinFk / VRQuestionnaireToolkit

🎓 ---- VRQuestionnaireToolkit ---- 🎓Enables the community to easily collect subjective measures in virtual environments.
MIT License
114 stars 25 forks source link

(Bug / Improvement) hardcoded text height #21

Open danilogr opened 3 years ago

danilogr commented 3 years ago

It seems that the location of the buttons, grids, and pretty much everything is hard-coded to questions with a single line of text. For example, I tried to add the full NASA TLX question to the NASA TLX questionnaire that comes with VRQuestionnaireToolkit and this is what I got: image

As looked further into the source code, it seems that all content-generation behaviours rely on a hard-coded value for the text height: image

Is there an easy way to fix this? I have hard-coded a longer length per question to solve my problem, but I think that it would be great if the authors of this toolkit made it flexible enough to support multi-line questions. This is especially important for validation because the real NASA TLX has longer text descriptions that matter. I.e., the shortened NASA TLX in use by this toolkit hasn't been validated.

MartinFk commented 3 years ago

I completely agree, this is kind of a legacy issue. When I originally developed the toolkit for myself, I had a pretty hard time dealing with Unity3D´s dynamic layouting system. There were many non-trivial issues which I could not sufficiently resolve in time. Eventually I gave up and just worked with fixed offsets. All standard question types should support at least(!) two-line questions (except the NASA, because the layout was specifically generated for it, as mentioned in the documentation).

That being said, it has been on our list for quite some time, and we plan to release a more dynamic UI layout with version 2.0. However, this unfortunately requires some major changes, and will most likely not happen before the end of summer.

Thank you very much for bringing it up, your feedback helps us to prioritize tasks and improve the toolkit.