Change width sections in contstant sum question | XM Community
Solved

Change width sections in contstant sum question

  • 17 September 2018
  • 5 replies
  • 2 views

Userlevel 3
Badge +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.
icon

Best answer by TomG 18 September 2018, 17:44

View original

5 replies

Userlevel 7
Badge +33
Can you simply try dragging text area line towards right.
Userlevel 3
Badge +5
I tried this, but unfortunately this is not possible for this questiontype. So I need to do this in a different way.
Userlevel 7
Badge +33
I tried by first making it as matrix and than by dragging increased length and one length is setup change it to slider.
Userlevel 3
Badge +5
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.
Userlevel 7
Badge +27
@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);
});
```

Leave a Reply