mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 13:06:59 -04:00
stretch-overflow biw works with rotation and alignment.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@733 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -753,6 +753,9 @@ void TextViewer::alignParagraph(size_t start_line, size_t end_line, const vector
|
||||
c += s.x + hdelta * i / count;
|
||||
if (j < l.end_or_soft && chars[j++].break_after == BREAK_SPACE) i++;
|
||||
}
|
||||
} else if (style.alignment & ALIGN_STRETCH_OVERFLOW && width >= s.width) {
|
||||
// stretching, don't center or align right
|
||||
justifying = false;
|
||||
} else {
|
||||
// simple alignment
|
||||
justifying = false;
|
||||
|
||||
Reference in New Issue
Block a user