* 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:
@@ -82,7 +82,7 @@ TeamListItem::DrawItem(BView *owner, BRect frame, bool complete)
|
|||||||
owner->SetFont(&font);
|
owner->SetFont(&font);
|
||||||
owner->MovePenTo(frame.left + 8, frame.top + ((frame.Height()
|
owner->MovePenTo(frame.left + 8, frame.top + ((frame.Height()
|
||||||
- (finfo.ascent + finfo.descent + finfo.leading)) / 2)
|
- (finfo.ascent + finfo.descent + finfo.leading)) / 2)
|
||||||
+ (finfo.ascent + finfo.descent) - 1);
|
+ finfo.ascent);
|
||||||
owner->DrawString(fPath.Leaf());
|
owner->DrawString(fPath.Leaf());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user