Another tweak, make the left diagonal arrows flush left.

This moves the left up and left down arrows 1px to the left so that they are
flush with the left side of the container they're drawn in.
This commit is contained in:
John Scipione 2013-04-07 11:40:22 -04:00
parent 348cd0c5de
commit 17c9912b90

View File

@ -763,9 +763,9 @@ BControlLook::DrawArrowShape(BView* view, BRect& rect, const BRect& updateRect,
tri3.Set(rect.right + 1, rect.top + 1);
break;
case B_LEFT_UP_ARROW:
tri1.Set(rect.left + 1, rect.bottom);
tri2.Set(rect.left + 1, rect.top);
tri3.Set(rect.right, rect.top);
tri1.Set(rect.left, rect.bottom);
tri2.Set(rect.left, rect.top);
tri3.Set(rect.right - 1, rect.top);
break;
case B_RIGHT_UP_ARROW:
tri1.Set(rect.left + 1, rect.top);
@ -778,9 +778,9 @@ BControlLook::DrawArrowShape(BView* view, BRect& rect, const BRect& updateRect,
tri3.Set(rect.left + 1, rect.bottom);
break;
case B_LEFT_DOWN_ARROW:
tri1.Set(rect.right, rect.bottom);
tri2.Set(rect.left + 1, rect.bottom);
tri3.Set(rect.left + 1, rect.top);
tri1.Set(rect.right - 1, rect.bottom);
tri2.Set(rect.left, rect.bottom);
tri3.Set(rect.left, rect.top);
break;
}