* Applied patch by Olivier: corrects vertical text positioning. This closes

ticket #3266, thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28853 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2009-01-07 19:32:46 +00:00
parent 25b944d41c
commit 095f2c0e21
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ TeamListItem::DrawItem(BView *owner, BRect frame, bool complete)
owner->SetFont(&font);
owner->MovePenTo(frame.left + 8, frame.top + ((frame.Height()
- (finfo.ascent + finfo.descent + finfo.leading)) / 2)
+ (finfo.ascent + finfo.descent) - 1);
+ finfo.ascent);
owner->DrawString(fPath.Leaf());
}