- MGR: Add some padding to each notice.

clientgui/
        NoticeListCtrl.cpp

svn path=/trunk/boinc/; revision=22043
This commit is contained in:
Rom Walton 2010-07-22 22:00:15 +00:00
parent 4a0b54d003
commit e30a71b8e3
2 changed files with 9 additions and 1 deletions

View File

@ -5492,3 +5492,9 @@ Bernd 22 Jul 2010
lib/
Makefile.mingw
Rom 22 July 2010
- MGR: Add some padding to each notice.
clientgui/
NoticeListCtrl.cpp

View File

@ -556,6 +556,8 @@ wxString CNoticeListCtrl::OnGetItem(size_t i) const
dtBuffer.Set((time_t)np->arrival_time);
strArrivalTime = dtBuffer.Format();
strBuffer = wxT("<table border=0 cellpadding=5><tr><td>");
if (!strTitle.IsEmpty()) {
strTemp.Printf(
wxT("<b>%s</b><br>"),
@ -588,7 +590,7 @@ wxString CNoticeListCtrl::OnGetItem(size_t i) const
strBuffer += strTemp;
}
strBuffer += wxT("</font><hr>\n");
strBuffer += wxT("</font></td></tr></table><hr>");
return strBuffer;
}