cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with changing layout of the Document Library.

tstephens
Champ in-the-making
Champ in-the-making
I'm working in Alfresco 4.0.  I'm in the middle of rebranding the site; and am having issues with the document library.  When it loads it's ignoring the set width set by the doc1/2/3/4 by the YUI Grid, and is scrolling off the page.  There seem to be inherit widths in some of the columns, but not all.  There seems to be no set rules on the table.

I can't find where this table is actually created and written out.  I can't figure out why it's not picking up the YUI Grid.  Basically I just can't figure it out Smiley Happy

This is happening on the Share Repository and the Site Document Library for 4.0.  Any ideas?

Thanks.
2 REPLIES 2

tstephens
Champ in-the-making
Champ in-the-making
I finally found it.  It was in the Alfresco/tomcat/webapps/share/components/data-lists/documentlist.js file. (really the min one; but I swapped the two out for development) at line 2304.

The description column wasn't assigning a width; so it was causing the problems.  Once I assigned a width to it it all snapped together.

mikeh
Star Contributor
Star Contributor
Glad you got your problem sorted out. The description column doesn't specify a width so it fills the remainder of the whole table width.

Thanks,
Mike