Uwe Stöhr wrote:
 > Uwe, why is this hardcoded to "1in"?

As I said, the idea is to omit the optional argument when the default is given. Therefore it makes no difference when you set [1\height] or not. When the user don't want to use the optional argument, the default "1\height" is internally used and in this case the argument omitted. As I wrote in the comment above this source code, the Box GUI handles "special values" line \height, \columnwidth, etc. internally as "in".

This is bad... I thought Germany always used the metrics system? And LyX was started by a German, wasn't it? :-)


So to check if "1\height" was set, you check if the value is "1in" and the "special" flag is set. This behaviour is not my idea, that's how the box GUI already works.

Could you please add this explanation in a FIXME in the relevant code source?

Thanks in advance,
Abdel.

Reply via email to