From f7467fd1ffc5df5bcbf782e57a1f6168203f97bf Mon Sep 17 00:00:00 2001 From: John Scipione Date: Sat, 27 Apr 2013 19:28:32 -0400 Subject: [PATCH] Set the PaneSwitch arrow rect based on the be_plain_font size --- src/kits/tracker/DialogPane.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;