> But why do you use a VSpace here? The indendation is a horizontal space. As > long as you do not want to do fancy things, I guess a Length would be more > suitable.
Because all other width in GuiDocument also uses VSpace, see for example the margins. I want to avoid to introduce new code if not really possible.
When I switch to Length, should I also change the other width from VSpace to Length? > As to the default when the dialog is created: I think the UI should contain a > combo with at least the choices "Default" and "Custom", defaulting to default. > The \setlength{\parindent} thing should only be output to the preamble if the > user choses not "Default", i.e., if he explicitly sets a custom value for the > indendation (many classes, especially for specific publishers, define their > own parindent which must not be overwritten by LyX). OK, I'll implement this and send a new patch. thanks and regards Uwe