jquery truncates text in button
Posted on 2014-02-14
We are developing a survey module for mobiles and tablets using jquery mobile.
On screen, we present the User with a question and a number of options (responses) to select.
If the response is long we want the button to automatically size vertically and wrap the text within the horizontal width of the button.
Currently the text simply truncates so as to make it unreadable. So as an example:
"I disagree completely with this statement"
"I disagree comp ..."
The amount of text varies significantly for different responses, so we don't want to create a huge fixed text box just for the odd one or two long responses (it also reduces the space available for the questions)
Any ideas as to a viable solution would be greatly appreciated :)