>> I don't understand. The valignment is set either via the context menu or the
>> tabular dialog.
>
> these are greyed out and not active here (anyone else see this?)
Please use my example LyX file:
http://www.mail-archive.com/[email protected]/msg158727.html
> the following code can move to a updateRowHeights() which can be
> called in metrics
>
> // determine the highest cell because its valignment sets the row ...
Sure. But before doing refactorization I wanted to stabilize the code.
> btw, i do not understand the switch statement. for every cell we are
> changing the row valignment. what's the point?
No we don't change the valignment. We set cy according to the existing valignment of every cell and
according to the valignment of the highest cell.
> the othercode you added can go to textVOffset i think.
Sure, I can do this.
> i must say that i do not like these nested switch statements. it is
> also not clear to me why we need the magic numbers.
See my comment above this routine.
> otherwise i can revert the commit and look at it myself. the problem
> is, as i said, that i cannot set vertical alignment. it would be nice
> to know if i am the only one...
What do you get when you open the LyX example file I sent and right click on a
cell?
Please don't revert before it is clear why you cannot set the valignment.
regards Uwe