Page 1 of 1

Extra space before and after <entry> element in cell

Posted: Wed May 13, 2020 7:52 pm
by AnalogKid82
I use the same conkeyref in the first column of two different rows within the same three-column table. In one row with this key, in column three, there is no extra space before and after the entry (
space-col1-not-col3.png
space-col1-not-col3.png (79.25 KiB) Viewed 1157 times
). But, in the other row with this key, in column three, there is extra space before and after the entry element (
space-col3-not-col1.png
space-col3-not-col1.png (55.93 KiB) Viewed 1157 times
). Could you tell me how to remove the extra space? Thanks!

Re: Extra space before and after <entry> element in cell

Posted: Thu May 14, 2020 7:11 am
by Radu
Hi,

A table row has a certain height. In order to compute the height of the row Oxygen needs to see which cell takes up the most vertical space.
For the first screenshot, in the row the 3'rd cell seems to take up the most vertical space, so it is the cell which determines the row height. The first cell on the same row has less vertical space so it gets aligned to the middle of the cell area.
In the second screenshot, the cell which takes the most vertical space is the first cell in the row, so it determines the row height. And the third cell in the row is aligned to the middle of the cell's available space.

A couple of extra remarks:

- If you want to impose the vertical alignment for cells, you can select the entire table (using the Outline view for example) then right click in the editing area and choose "Table->Table Properties", in the dialog which shows up you go to the "Cells" tab and set the Vertical align radio to "Top" instead of leaving the default alignment.
- The published output may not look exactly like the table layout in which you are editing. The published output will not show the full tags, various icons used to show links and content references in the editor area. So you may also want to look at how that looks like.

Regards,
Radu

Re: Extra space before and after <entry> element in cell

Posted: Fri May 15, 2020 4:18 pm
by AnalogKid82
Thanks Radu!