]> git.lyx.org Git - features.git/commit
Avoid narrow boxes when using \width as box width unit
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 5 Apr 2016 08:43:16 +0000 (10:43 +0200)
committerRichard Heck <rgheck@lyx.org>
Sat, 28 May 2016 21:41:20 +0000 (17:41 -0400)
commit5d770859f83138f6eaf646d06b51455f8e06b850
tree22ad11c23612a13af73941a613b5984ee462a8f9
parentc705347523a6cd5e89715106666724145e739728
Avoid narrow boxes when using \width as box width unit

When the box has a special width, one should not consider that as a fixed width. Otherwise, due to implementation quirks, the width will be set on screen as 1 inch.

A better solution would be to actually set the width by taking in account the contents width, height ans total height. This is not very difficult, but I do not know whether it would workout well in the work area.

Fixes bug #10048.
src/insets/InsetBox.cpp
status.22x