Skip to content

Commit

Permalink
Mac SG: Fix vertical position of project names in tabs on Mac.
Browse files Browse the repository at this point in the history
svn path=/trunk/boinc/; revision=16654
  • Loading branch information
Charlie Fenton committed Dec 9, 2008
1 parent 4fa4d4f commit 2d76d20
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions checkin_notes
Original file line number Diff line number Diff line change
Expand Up @@ -9978,6 +9978,10 @@ Charlie 9 Dec 2008
Mac SG: Remove ugly hack added 8/20/07 for unknown alignment problem on Mac
which caused bottom of slide show to be cut off. The original problem
no longer exists and the hack now caused the top to be cut off.
Mac SG: Fix long-standing cosmetic problem on Mac where project names in
tabs were drawn several pixels too low.

clientgui/
sg_ViewTabPage.cpp
common/
wxFlatNotebook.cpp
2 changes: 1 addition & 1 deletion clientgui/common/wxFlatNotebook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@ void wxPageContainerBase::OnPaint(wxPaintEvent &event)
}

// Draw the image for the tab if any
#ifdef __WXMSW__
#if (defined(__WXMSW__) || defined(__WXMAC__))
imageYCoord = style & wxFNB_BOTTOM ? 3 : 6;
#else
imageYCoord = style & wxFNB_BOTTOM ? 3 : 10;
Expand Down

0 comments on commit 2d76d20

Please sign in to comment.