]> 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)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 22 Apr 2016 13:31:40 +0000 (15:31 +0200)
commitc8e1c092369a6708499d4503f620d028968d2167
tree3aa55a2a2381832cb8c440a755f3593ca71ce322
parent74dd33e3856ada95a55db8480173792801b8ab93
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)
src/TextMetrics.cpp
status.22x