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:
parent
348cd0c5de
commit
17c9912b90
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user