mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-15 12:41:32 +00:00
f04c7711b0
* InsetBox and GuiBox: Use proper empty length instead of the broken -9.99col% trick * some slight changes to the logic of GuiBox to make sure that values are set as needed. * lengthToWidget(): handle properly the empty length case. All the other related Qt helpers did it already, it was probably an oversight. Also set the default_unit parameter as optional (not needed in this patch actually, but I got carried away :) * allow generating LaTeX code for an empty length, since some broken code does that.