Fix horizontal scrolling in full-width collapsable insets

While a one paragraph large collapsable inset (containing for example a tabular) could be very wide and trigger horizontal scrolling, the code that makes collapsable insets wide when they contain several paragraphs would actually make them narrower in this case.

Typical example is a wide tabular and a caption in a table float, where horizontal scrolling would not trigger.

(cherry picked from commit 8c7ace4b on 2.3.0-staging)
This commit is contained in:
Jean-Marc Lasgouttes 2016-04-22 12:11:00 +02:00 committed by Richard Heck
parent fe96d33229
commit 1fd39e2974

View File

@ -81,6 +81,9 @@ What's new
- Display the correct column alignment and a better column spacing in AMS
environments (bugs 1861, 9908).
- Fix horizontal scrolling feature when inside a collapsable inset
with several paragraphs.
- Fix display of collapsable insets when the same document is shown in
two views with different width (bug 9756).