Grahame Blackwood wrote:
Attached is a small table with three columns. No matter what I do in the table settings dialogue, the beginning of the tabular environment in the LyX file reads:

<lyxtabular version="3" rows="5" columns="3">
<features>
<column alignment="center" valignment="top" leftline="true" width="0">
<column alignment="center" valignment="top" leftline="true" width="0">
<column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">

I suspect that if the dialogue had worked and I had set the widths of each column to say 1,2 and 3cm then these values would be shown above instead of "0".


Your suspicion is correct. I don't have 1.4.2 here, but I had no problem modifying the column widths with 1.4.4. Although I'm 99.9% certain you're using the correct process, what I did was:

1.  Right click in any cell in the column I wanted to change.
2.  In the Table Settings tab, typed 1, 2 or 3 in the Width cell.
3.  Clicked in the drop down list and selected cm as the units.
4.  Clicked in another cell (anywhere), thus committing the change.

Per Steve's comment, it might be a good idea to hit Enter after each change; I don't think early versions committed changes when the control lost focus, and I don't know whether 1.4.2 is before or after that got fixed.

Assuming this matches your process, I'm at a loss as to what is going wrong. If you open the LyX file in a text editor and change one of those zeros to, say, "2cm", when LyX opens the file is the column width retained?

Puzzled,
Paul

Reply via email to