X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FTextMetrics.cpp;h=50f6062275a685b238031c94eb8c02cccc8bf8f5;hb=11adfbf64ddd815d2dd8a16e03a528aee837866e;hp=ecc9e5219487d3015fde15ecb0d6aaf336fcb139;hpb=88cdfb0d4295b426dfdb728526503ee52b72cc28;p=lyx.git diff --git a/src/TextMetrics.cpp b/src/TextMetrics.cpp index ecc9e52194..50f6062275 100644 --- a/src/TextMetrics.cpp +++ b/src/TextMetrics.cpp @@ -598,6 +598,11 @@ void TextMetrics::computeRowMetrics(pit_type const pit, } } + // Has the user requested we not justify stuff? + if (!bv_->buffer().params().justification + && align == LYX_ALIGN_BLOCK) + align = LYX_ALIGN_LEFT; + switch (align) { case LYX_ALIGN_BLOCK: { int const ns = numberOfSeparators(par, row);