]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_fracinset.C
mathed95.diff
[lyx.git] / src / mathed / math_fracinset.C
index b3307cb339e4544fb03cc65f3f49aee298fdd5e3..856e3b664b5b333379481908975005f091ecdeae 100644 (file)
@@ -29,9 +29,9 @@ MathInset * MathFracInset::clone() const
 
 void MathFracInset::Metrics(MathStyles st)
 {
-       xcell(0).Metrics(st);
-       xcell(1).Metrics(st);
-       size_    = st;
+       size_    = smallerStyleFrac(st);
+       xcell(0).Metrics(size_);
+       xcell(1).Metrics(size_);
        width_   = std::max(xcell(0).width(), xcell(1).width()) + 4; 
        ascent_  = xcell(0).height() + 4 + 5;
        descent_ = xcell(1).height() + 4 - 5;