Change width sections in contstant sum question | Experience Community
Skip to main content
Solved

Change width sections in contstant sum question

  • Sep 17, 2018 2:52 PM UTC
  • 5 replies
  • 46 views

Nico_Leussink
Level 2 ●●
Forum|alt.badge.img+5
In a contstant sum question there is a section for text (1) and a section for the sliders (2). Please see the screenpring below. ! I would like to have the width for the textsection bigger and the section for the sliders smaller. How can I do this? Thanks in advance.

Best answer by TomG

@Nico_Leussink, You can do it like this: ``` Qualtrics.SurveyEngine.addOnload(function() { var lwidth = "225px"; //width of labels jQuery("#"+this.questionId+" th.ylabel").attr('width', lwidth); jQuery("#"+this.questionId+" .WidthStrut").css("width", lwidth); }); ```
View original

5 replies

PeeyushBansal
Level 7 ●●●●●●●
Forum|alt.badge.img+53
  • Level 7 ●●●●●●●
  • Sep 17, 2018 3:03 PM UTC
Can you simply try dragging text area line towards right.

Nico_Leussink
Level 2 ●●
Forum|alt.badge.img+5
  • Author
  • Level 2 ●●
  • Sep 18, 2018 6:27 AM UTC
I tried this, but unfortunately this is not possible for this questiontype. So I need to do this in a different way.

PeeyushBansal
Level 7 ●●●●●●●
Forum|alt.badge.img+53
  • Level 7 ●●●●●●●
  • Sep 18, 2018 6:48 AM UTC
I tried by first making it as matrix and than by dragging increased length and one length is setup change it to slider.

Nico_Leussink
Level 2 ●●
Forum|alt.badge.img+5
  • Author
  • Level 2 ●●
  • Sep 18, 2018 7:02 AM UTC
Tried this. And in the build-modus this works. However when you preview the survey the width is displayed as default. And also when you use the anonymous link the display is as my screenshot. So there must be a different way to fix this.

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Answer
  • Sep 18, 2018 3:44 PM UTC
@Nico_Leussink, You can do it like this: ``` Qualtrics.SurveyEngine.addOnload(function() { var lwidth = "225px"; //width of labels jQuery("#"+this.questionId+" th.ylabel").attr('width', lwidth); jQuery("#"+this.questionId+" .WidthStrut").css("width", lwidth); }); ```