зеркало из https://github.com/mozilla/gecko-dev.git
shift down text part of cell by 1px to get better centering w/in cell.
This commit is contained in:
Родитель
40c23d6dcf
Коммит
c43551eade
|
@ -115,6 +115,11 @@
|
|||
|
||||
[image compositeToPoint:imageFrame.origin operation:NSCompositeSourceOver];
|
||||
}
|
||||
// shift down cellFrame by 1px to better align w/in rect. For some reason the default
|
||||
// doesn't center correctly.
|
||||
cellFrame.origin.y++;
|
||||
cellFrame.size.height--;
|
||||
|
||||
[super drawWithFrame:cellFrame inView:controlView];
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче