diff --git a/src/kits/tracker/DialogPane.cpp b/src/kits/tracker/DialogPane.cpp index 6d222965d6..6f4575c3eb 100644 --- a/src/kits/tracker/DialogPane.cpp +++ b/src/kits/tracker/DialogPane.cpp @@ -497,7 +497,7 @@ PaneSwitch::Track(BPoint point, uint32) void PaneSwitch::DrawInState(PaneSwitch::State state) { - BRect rect(0, 0, 12, 12); + BRect rect(0, 0, be_plain_font->Size(), be_plain_font->Size()); rect.OffsetBy(1, 1); rgb_color arrowColor = state == kPressed ? kHighlightColor : kNormalColor;