Millisecond Forums

slider size

https://forums.millisecond.com/Topic41367.aspx

By ai293 - 7/15/2025

Hi, I'm having two issues with my slider questions.

1) My labels, which are admittedly long, keep spilling over the white space or cut off by other labels. Is there a way for me to fix this? I've tried multiple things, including adding line breaks, changing the font size and the slider size, etc. but I can't seem to get my text to display fully.

For example, I'm specifically facing this issue for
<slider richness_q7> and <slider richness_q9>

2) the slider in <slider richness_q4> and  <slider richness_q3> is by default aligned to the center of the page. However, this isn't the case for <slider richness_q5>. Is there a reason for this? The specifications are identical, so why is only one of them center aligned? Is there a way to make the slider for richness_q5 center aligned while the question itself is left aligned? 

Thanks Dave!




By ai293 - 7/15/2025

I forgot to attach the relevant file. Here it is...
By Dave - 7/15/2025

ai293 - 7/15/2025
I forgot to attach the relevant file. Here it is...

> 1) My labels, which are admittedly long, keep spilling over the white space or cut off by other labels. Is there a way for me to fix this? I've tried multiple things, including adding line breaks, changing the font size and the slider size, etc. but I can't seem to get my text to display fully.

Define a /slidersize with sufficient height.

<slider richness_q7>
/ caption = "When you think about the richness of your life, to what extent do you evaluate your richness in terms of:"
/ labels = ("1<br>how rich your life is<br> compared to the lives of other people", "2", "3", "4", "5", "6", "7<br>how rich <br>your life is compared to how rich it could have possibly been to this point")
/ range = (1, 7)
/ increment = 1
/ required = true
/ fontstyle = ("Arial", 2.8%, false, false, false, false, 5, 0)
/ responsefontstyle = ("Arial", 2.5%, false, false, false, false, 5, 0)
/ slidersize = (80%, 50%)
</slider>




> 2) the slider in <slider richness_q4> and <slider richness_q3> is by default aligned to the center of the page. However, this isn't the case for <slider richness_q5>-

None of the sliders are aligned to the center of the page. They are all aligned to the left margin of the page. All survey questions are always left-aligned.
What makes you think there's a diference in alignment is the long label ("A moderate amount") in q3 and q4.

As above, use /slidersize if you want all the sliders to be dimensioned similarly.