Problem with size attribute in radio button on surveypage


Author
Message
Jeff
Jeff
Guru (7.2K reputation)Guru (7.2K reputation)Guru (7.2K reputation)Guru (7.2K reputation)Guru (7.2K reputation)Guru (7.2K reputation)Guru (7.2K reputation)Guru (7.2K reputation)Guru (7.2K reputation)
Group: Forum Members
Posts: 39, Visits: 97
I'm having trouble adjusting a radio button so that the whole text fits in. The size attribute seems not to work, as it doesn't change anything when I change the parameters.

<radiobuttons radiobutton_1_1>
/ caption = "Acceptable Responses"
/ options = ("WRONG", "<%values.option1%>")
/ position = (1%, 1%)
/ size = (400px, 800px)
/ fontstyle = ("Verdana", 36, false, false, false, false, 5, 0)
/ orientation = vertical
/ required = true
</radiobuttons>

I've tried using percentages and pixels, but neither works. Every time, this is what I get:

https://www.millisecond.com/forums/uploads/images/070f6104-76e4-4aa6-a12a-ddb2.png

 I've attached working code to demonstrate. 


Attachments
EVOCB135.JPG (632 views, 23.00 KB)
Example for forum.exp (791 views, 16.00 KB)
Dave
Dave
Supreme Being (864K reputation)Supreme Being (864K reputation)Supreme Being (864K reputation)Supreme Being (864K reputation)Supreme Being (864K reputation)Supreme Being (864K reputation)Supreme Being (864K reputation)Supreme Being (864K reputation)Supreme Being (864K reputation)
Group: Administrators
Posts: 10K, Visits: 60K
The best strategy here is to force greater spacing between the response options by including some new lines (~n):

<radiobuttons radiobutton_1_1>
/ caption = "Acceptable Responses"
/ options = ("~nWRONG~n", "~n<%values.option1%>~n")
/ position = (1%, 1%)
/ fontstyle = ("Verdana", 36)
/ orientation = vertical
/ required =  true
</radiobuttons>

Jeff
Jeff
Guru (7.2K reputation)Guru (7.2K reputation)Guru (7.2K reputation)Guru (7.2K reputation)Guru (7.2K reputation)Guru (7.2K reputation)Guru (7.2K reputation)Guru (7.2K reputation)Guru (7.2K reputation)
Group: Forum Members
Posts: 39, Visits: 97
That worked like a charm! Thanks! 
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search