adjust column width of matrix

  • Profile Image
    jsaffir
    Asked on January 21, 2014 at 01:10 PM

    I want variable column widths in a matrix.  Is something wrong with my css code?

  • Profile Image
    BDAVID
    Answered on January 21, 2014 at 02:18 PM

    Hi, there is nothing wrong with it. What happens is tha there are multiple columns on the matrix, if you change the width of a particular column,it will decrease the others since the width of form is fixed.

    I injected to part of your code this (own my own example): "size: 20px"

     

    /*---4th column width---*/

    .form-matrix-values +.form-matrix-values +.form-matrix-values +.form-matrix-values .form-textbox{

    width: 50px;

    size: 20px

    }

    So this is the result, as you can see the others columns width decrease.

     

    What you can do is to increase the width of the form, but you will get a wider form.