From 8a46f91320aa2345e44d85a1aa32302ff6fae02e Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Fri, 21 Dec 2007 19:39:49 +0000 Subject: [PATCH] Improve space size. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22237 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetSpace.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/insets/InsetSpace.cpp b/src/insets/InsetSpace.cpp index 168862236b..c2e1f5e845 100644 --- a/src/insets/InsetSpace.cpp +++ b/src/insets/InsetSpace.cpp @@ -58,21 +58,21 @@ bool InsetSpace::metrics(MetricsInfo & mi, Dimension & dim) const switch (kind_) { case THIN: case NEGTHIN: - dim.wid = fm.width(char_type('x')) / 3; + dim.wid = fm.width(char_type('M')) / 6; break; case PROTECTED: case NORMAL: - dim.wid = fm.width(char_type('x')); + dim.wid = fm.width(char_type(' ')); break; case QUAD: - dim.wid = 20; + dim.wid = fm.width(char_type('M')); break; case QQUAD: - dim.wid = 40; + dim.wid = 2 * fm.width(char_type('M')); break; case ENSPACE: case ENSKIP: - dim.wid = 10; + dim.wid = 0.5 * fm.width(char_type('M')); break; } bool const changed = dim_ != dim;