mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
InsetMathGrid.cpp: whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36471 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7a05148777
commit
f69929850d
@ -381,8 +381,8 @@ void InsetMathGrid::metrics(MetricsInfo & mi, Dimension & dim) const
|
|||||||
// compute vertical offsets
|
// compute vertical offsets
|
||||||
rowinfo_[0].offset_ = 0;
|
rowinfo_[0].offset_ = 0;
|
||||||
for (row_type row = 1; row <= nrows(); ++row) {
|
for (row_type row = 1; row <= nrows(); ++row) {
|
||||||
rowinfo_[row].offset_ =
|
rowinfo_[row].offset_ =
|
||||||
rowinfo_[row - 1].offset_ +
|
rowinfo_[row - 1].offset_ +
|
||||||
rowinfo_[row - 1].descent_ +
|
rowinfo_[row - 1].descent_ +
|
||||||
rowinfo_[row - 1].skipPixels(mi) +
|
rowinfo_[row - 1].skipPixels(mi) +
|
||||||
rowsep() +
|
rowsep() +
|
||||||
@ -427,20 +427,20 @@ void InsetMathGrid::metrics(MetricsInfo & mi, Dimension & dim) const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
dim.wid = colinfo_[ncols() - 1].offset_
|
dim.wid = colinfo_[ncols() - 1].offset_
|
||||||
+ colinfo_[ncols() - 1].width_
|
+ colinfo_[ncols() - 1].width_
|
||||||
+ vlinesep() * colinfo_[ncols()].lines_
|
+ vlinesep() * colinfo_[ncols()].lines_
|
||||||
+ border();
|
+ border();
|
||||||
|
|
||||||
dim.asc = - rowinfo_[0].offset_
|
dim.asc = - rowinfo_[0].offset_
|
||||||
+ rowinfo_[0].ascent_
|
+ rowinfo_[0].ascent_
|
||||||
+ hlinesep() * rowinfo_[0].lines_
|
+ hlinesep() * rowinfo_[0].lines_
|
||||||
+ border();
|
+ border();
|
||||||
|
|
||||||
dim.des = rowinfo_[nrows() - 1].offset_
|
dim.des = rowinfo_[nrows() - 1].offset_
|
||||||
+ rowinfo_[nrows() - 1].descent_
|
+ rowinfo_[nrows() - 1].descent_
|
||||||
+ hlinesep() * rowinfo_[nrows()].lines_
|
+ hlinesep() * rowinfo_[nrows()].lines_
|
||||||
+ border();
|
+ border();
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user