The left margin given at class level should apply only to the main text.

(cherry picked from commit a007b65202)
This commit is contained in:
Richard Kimberly Heck 2018-07-08 21:38:00 -04:00
parent b060c46387
commit 1d22d23808
2 changed files with 5 additions and 3 deletions

View File

@ -1618,10 +1618,10 @@ int TextMetrics::leftMargin(pit_type const pit, pos_type const pos) const
int l_margin = 0;
if (text_->isMainText())
if (text_->isMainText()) {
l_margin += bv_->leftMargin();
l_margin += bfm.signedWidth(tclass.leftmargin());
l_margin += bfm.signedWidth(tclass.leftmargin());
}
int depth = par.getDepth();
if (depth != 0) {

View File

@ -159,6 +159,8 @@ What's new
- Fix some missing screen updates (bug 11323, regression in 2.3.1).
- Allow adjustment of margin settings in InsetLayout (bug 10177).
* INTERNALS