]> 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>
Sun, 29 May 2016 21:55:42 +0000 (17:55 -0400)
commita879bc257519f030322d8d99643ccf3e52c1b62e
tree9837bc0f8ce26bb7fb3e50cea281acf282f972ee
parent6bd70011e959733556debb11411c35bfd36cecfb
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.
src/TextMetrics.cpp