* 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:
parent
25b944d41c
commit
095f2c0e21
@ -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());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user