]> git.lyx.org Git - features.git/commit
Some fixups to row margins
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 17 Jul 2015 22:07:30 +0000 (00:07 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 17 Jul 2015 22:17:00 +0000 (00:17 +0200)
commit412a724aaf8a532adba71f8e8491c258f651a4e1
treef0e88546c63744a24483377d370a0059c0d7b7a5
parentf750d9b5cfbc2050e663044789ed9b44219b47fa
Some fixups to row margins

In breakRow set left and right margin properly for RTL paragraphs.
Remove corresponding code from ComputeRowMetrics.

In row painter, check the use of left and right margin depending on
context. The problem in the original text is that the various
leftMargin() methods actually represent right margin for RTL
paragraphs. This should be fixed eventually.
src/RowPainter.cpp
src/TextMetrics.cpp