From 4ed28dab7ac14b6ea5da0896130c1eb794d4c5cd Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Mon, 6 Oct 2008 23:09:28 +0000 Subject: [PATCH] MGR: fix text position in progress bars svn path=/trunk/boinc/; revision=16146 --- clientgui/BOINCListCtrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clientgui/BOINCListCtrl.cpp b/clientgui/BOINCListCtrl.cpp index 734e7b1007..7e8e6b2067 100644 --- a/clientgui/BOINCListCtrl.cpp +++ b/clientgui/BOINCListCtrl.cpp @@ -314,7 +314,6 @@ void CBOINCListCtrl::DrawProgressBars() #endif r.x = x; r.width = w; - r.Inflate(-1, -2); wxString progressString = m_pParentView->GetProgressText(row); dc.GetTextExtent(progressString, &xx, &yy); @@ -337,6 +336,7 @@ void CBOINCListCtrl::DrawProgressBars() } rr = r; + rr.Inflate(-1, -2); dc.SetLogicalFunction(wxCOPY); dc.SetBackgroundMode(wxSOLID);