mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-04 14:20:05 +00:00
TextMetrics.cpp: fix bug that AlignRight were aligned like Inline
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30474 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
97e857b166
commit
48dd95812d
@ -571,9 +571,11 @@ void TextMetrics::computeRowMetrics(pit_type const pit,
|
|||||||
align = LYX_ALIGN_CENTER;
|
align = LYX_ALIGN_CENTER;
|
||||||
break;
|
break;
|
||||||
case Inset::Inline:
|
case Inset::Inline:
|
||||||
case Inset::AlignRight:
|
|
||||||
// unchanged (use align)
|
// unchanged (use align)
|
||||||
break;
|
break;
|
||||||
|
case Inset::AlignRight:
|
||||||
|
align = LYX_ALIGN_RIGHT;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user