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:
parent
94cc40b15e
commit
c0a15174a6
@ -160,7 +160,7 @@ BRect
|
|||||||
BCountView::TextInvalRect() const
|
BCountView::TextInvalRect() const
|
||||||
{
|
{
|
||||||
BRect result = Bounds();
|
BRect result = Bounds();
|
||||||
result.InsetBy(4, 4);
|
result.InsetBy(4, 3);
|
||||||
|
|
||||||
// if the barber pole is not present, use its space for text
|
// if the barber pole is not present, use its space for text
|
||||||
if (fShowingBarberPole)
|
if (fShowingBarberPole)
|
||||||
|
Loading…
Reference in New Issue
Block a user