How to change space between last two scale points for matrix question | XM Community
Skip to main content

Hi, I would like to change the space between the last two scale points at the right side so that there is more space between 'Helemaal mee eens' and 'Weet niet'. How can I do that, perhaps with javascript?
I tried options that were suggested for similar questions but that didn't work.
image_2022-05-16_150801905.png

Hi there, I've used a below with Matrix tables to add a divider line to the left of the last column's border:
var q = jQuery("#"+this.questionId);
var cl = q.find('td.ColumnLabels:first'); 
if(cl.length > 0) cl.attr('colspan', cl.attr('colspan') - 1);
if(q.find('div.desktop').length > 0) q.find('.last').css("border-left", "1px solid #BBBBBB");
Adapting this, adding some left padding should do what you are describing:
var q = jQuery("#"+this.questionId);
var cl = q.find('td.ColumnLabels:first'); 
if(cl.length > 0) cl.attr('colspan', cl.attr('colspan') - 1);
if(q.find('div.desktop').length > 0) q.find('.last').css("padding-left", "75px");


Leave a Reply