On Mon, 01 Oct 2007 10:46:14 +0200 Uwe Stöhr <[EMAIL PROTECTED]> wrote:
> >> 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? :-) > > I understand that this behaviour might be confusing, but I'm innocent here. > This has been introduced > when the box dialog was introduced with LyX 1.4.0. I don't know who to blame. Blame me ;-) > But anyway, it works > well and I can see no potential problems, so better blame nobody. You have to > use a dummy unit for > the special values, so what's the problem in using "in", using "cm" instead > makes no difference, and > the behaviour is well already explained by comments in the source code? That was my reasoning IIRC. > Feel free to add more > comments if you like. > > >> 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? > > I'll do this. > > regards Uwe - Martin