From c0a15174a6820198a0add29fe3cc60e707550cdd Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Mon, 6 Jul 2020 22:34:13 -0400 Subject: [PATCH] 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. --- src/kits/tracker/CountView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kits/tracker/CountView.cpp b/src/kits/tracker/CountView.cpp index 8984741b65..bb11ab1720 100644 --- a/src/kits/tracker/CountView.cpp +++ b/src/kits/tracker/CountView.cpp @@ -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)