]> git.lyx.org Git - features.git/commit
Fix horizontal scrolling in full-width collapsable insets
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 22 Apr 2016 10:11:00 +0000 (12:11 +0200)
committerRichard Heck <rgheck@lyx.org>
Wed, 15 Jun 2016 21:32:52 +0000 (22:32 +0100)
commit1fd39e2974a58ebe6e8fa595ad2880ef4b2676cf
tree0a2b922bdf8bcfc697cc827c620ed0fec6b42bf2
parentfe96d33229485f5766a9206ed079907b6620500d
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)
status.22x