I searched through this group earlier hoping for a good way to increase
the width of a column in a document library. Unfortunately, the most
common answer I came across was use to Front Page. This is certainly
feasable, but not when I want it done for all team sites. Anyways, I
was able to do it via the Document definition and thought I'd post it
for the next person interested...
I simply added a second computed column to the list definition that
displayed the first column using the DisplayPattern tag. This allowed
me to render it exactly how I wanted to. I also set the appropriate
attributes so that my "view" field didn't show up in the edit
properties window.
<Field Type="Note" Name="Description" DisplayName="Description"
Required="TRUE"> </Field>
<Field Type="Computed" Name="DescriptionView"
DisplayName="Description" Required="False" Hidden="True"
ShowInNewForm="FALSE" ShowInFileDlg="FALSE" ShowInEditForm="FALSE">
<FieldRefs>
<FieldRef Name="Description"/>
</FieldRefs>
<DisplayPattern>
<HTML><![CDATA[<table><tr><td nowrap>]]></HTML><Column
Name="Description"/><HTML><![CDATA[</td></tr></table>]]></HTML>
</DisplayPattern>
</Field>