mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
small fix to changeset 17143
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17156 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e5035aaa8a
commit
9652acee93
@ -145,7 +145,7 @@ bool InsetCaption::metrics(MetricsInfo & mi, Dimension & dim) const
|
|||||||
dim.wid += textdim.wid;
|
dim.wid += textdim.wid;
|
||||||
dim.asc += TEXT_TO_INSET_OFFSET;
|
dim.asc += TEXT_TO_INSET_OFFSET;
|
||||||
dim.des += TEXT_TO_INSET_OFFSET;
|
dim.des += TEXT_TO_INSET_OFFSET;
|
||||||
dim.wid += 0.5 * TEXT_TO_INSET_OFFSET;
|
dim.wid += TEXT_TO_INSET_OFFSET / 2;
|
||||||
mi.base.textwidth += 2 * TEXT_TO_INSET_OFFSET;
|
mi.base.textwidth += 2 * TEXT_TO_INSET_OFFSET;
|
||||||
bool const changed = dim_ != dim;
|
bool const changed = dim_ != dim;
|
||||||
dim_ = dim;
|
dim_ = dim;
|
||||||
|
Loading…
Reference in New Issue
Block a user