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

Change width sections in contstant sum question

  • September 17, 2018
  • 5 replies
  • 11 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); }); ```

5 replies

PeeyushBansal
Level 6 ●●●●●●
Forum|alt.badge.img+44
  • Level 6 ●●●●●●
  • September 17, 2018
Can you simply try dragging text area line towards right.

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

PeeyushBansal
Level 6 ●●●●●●
Forum|alt.badge.img+44
  • Level 6 ●●●●●●
  • September 18, 2018
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 ●●
  • September 18, 2018
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
  • September 18, 2018
@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); }); ```