Configuring column width in assignment grade V 2.7

Configuring column width in assignment grade V 2.7

by erika alarcon -
Number of replies: 4
Picture of Testers

When I go to grade an assignment, the File submissions column is narrow, this causes the table become very long


grading_assignment


How can I change the column width of the column?   Any ideas?

Average of ratings: -
In reply to erika alarcon

Re: Configuring column width in assignment grade V 2.7

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

You might be able to do something with CSS.  Find the specific column that that is and apply a set width to it.

Can I mention that file names that long sometimes cause issues and are not necessarily recommended!

In reply to Emma Richardson

Re: Configuring column width in assignment grade V 2.7

by erika alarcon -
Picture of Testers

Thanks Emma,  I have been looking the construction of that column in the Grading table but I couldn't find it

Do you know where is it?

In reply to Emma Richardson

Re: Configuring column width in assignment grade V 2.7

by erika alarcon -
Picture of Testers

Hi, I finally figure it out.  (In Moodle 2.7)

These post helped me:  https://moodle.org/mod/forum/discuss.php?d=231488


So, in the file  /moodle/mod/assign/style.css  at the end I write the following lines:

/*  Expand the file submission column width -  Header */

.gradingtable tr th.header.c8 {

min-width: 250px;

}

/*  Expand the file submission column width -  Cell */

.gradingtable tr td.cell.c8 {

min-width: 250px;

}




Average of ratings: Useful (1)