]> git.lyx.org Git - features.git/commit
Implement on screen rendering of alignment in LR boxes.
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 23 Oct 2015 09:16:21 +0000 (11:16 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 23 Nov 2015 10:40:36 +0000 (11:40 +0100)
commitd8719ade592599a2b2ec6c4d54a76206773584cd
tree12cb47c03c5253a30257128bddd75d2d9cfc82d1
parentaf5ec069c7473fa63e6acf6ab39e46eb332aaa61
Implement on screen rendering of alignment in LR boxes.

This is done by implementing contentAlignment() for this inset.

In order to display properly 'stretch' alignment, the code for TextMetrics::getAlign is rewritten to include some code that was in computeRowMetrics.
src/TextMetrics.cpp
src/TextMetrics.h
src/insets/InsetBox.cpp
src/insets/InsetBox.h