mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
cosmetic fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9774 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d0bd255a21
commit
e6bdf56c97
@ -1,4 +1,8 @@
|
||||
|
||||
2005-04-03 Alfredo Braunstein <abraunst@lyx.org>
|
||||
|
||||
* insettext.C (drawFrame): cosmetic fix
|
||||
|
||||
2005-03-30 Martin Vermeer <martin.vermeer@hut.fi>
|
||||
|
||||
* ExternalSupport.C (writeExternal):
|
||||
|
@ -222,7 +222,7 @@ void InsetText::drawFrame(Painter & pain, int x, int y) const
|
||||
|
||||
void InsetText::clearInset(Painter & pain, int x, int y) const
|
||||
{
|
||||
int const w = text_.width() + border_;
|
||||
int const w = text_.width() + 2 * border_;
|
||||
int const a = text_.ascent() + border_;
|
||||
int const h = a + text_.descent() + border_;
|
||||
pain.fillRectangle(x, y - a, w, h, backgroundColor());
|
||||
|
Loading…
Reference in New Issue
Block a user