Tracker: Restore prior text-rect bounds in the count view.

The one-pixel offset greatly improved the text alignment under HiDPI,
but degraded it on non-HiDPI. I guess one pixel really does make
that much of a difference; so this will have to be revisted.
This commit is contained in:
Augustin Cavalier 2020-07-06 22:34:13 -04:00
parent 94cc40b15e
commit c0a15174a6

View File

@ -160,7 +160,7 @@ BRect
BCountView::TextInvalRect() const
{
BRect result = Bounds();
result.InsetBy(4, 4);
result.InsetBy(4, 3);
// if the barber pole is not present, use its space for text
if (fShowingBarberPole)