]> git.lyx.org Git - lyx.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)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 3 Jun 2016 21:13:43 +0000 (23:13 +0200)
commit7850e77bd912e2ffb5db52344f671f74ec004bcf
tree28ec99259dec762ffb6cf77a1af7877e5b5e3493
parent1862a97ea14257bcffdb0cedf41d2f340dd01001
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 a879bc257519f030322d8d99643ccf3e52c1b62e)
src/TextMetrics.cpp
status.22x