mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
10 points of RIGHT_MARGIN
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8145 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
84b462dd37
commit
e5c07a21d5
@ -65,6 +65,8 @@ using std::string;
|
||||
extern int const NEST_MARGIN = 20;
|
||||
/// margin for changebar
|
||||
extern int const CHANGEBAR_MARGIN = 10;
|
||||
/// right margin
|
||||
extern int const RIGHT_MARGIN = 10;
|
||||
|
||||
|
||||
namespace {
|
||||
@ -340,6 +342,7 @@ int LyXText::rightMargin(Paragraph const & par) const
|
||||
LyXTextClass const & tclass = bv()->buffer()->params().getLyXTextClass();
|
||||
|
||||
return
|
||||
RIGHT_MARGIN
|
||||
+ font_metrics::signedWidth(tclass.rightmargin(),
|
||||
tclass.defaultfont())
|
||||
+ font_metrics::signedWidth(par.layout()->rightmargin,
|
||||
|
Loading…
Reference in New Issue
Block a user