Skip to content

Commit

Permalink
MGR: word-wrap CompletionBrandedMessage static text in Account manage…
Browse files Browse the repository at this point in the history
…r Wizard Completion page for GridRepublic.

svn path=/trunk/boinc/; revision=16670
  • Loading branch information
Charlie Fenton committed Dec 12, 2008
1 parent b3bc710 commit bb4837a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
9 changes: 9 additions & 0 deletions checkin_notes
Original file line number Diff line number Diff line change
Expand Up @@ -10035,3 +10035,12 @@ David 11 Dec 2008
client_state.cpp
lib/
coproc.cpp,h

Charlie 11 Dec 2008

- MGR: in Attach to Account manager Wizard Completion page, word-wrap the
CompletionBrandedMessage static text item so it won't run off the
edge of the dialog for GridRepublic on the Mac.

clientgui/
CompletionPage.cpp
6 changes: 5 additions & 1 deletion clientgui/CompletionPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,11 @@ void CCompletionPage::OnPageChanged( wxWizardExEvent& event ) {
}

Fit();

int w, h;
m_pCompletionBrandedMessage->GetSize(&w, &h);
m_pCompletionBrandedMessage->Wrap(w - 5);
Fit();

// Is this supposed to be completely automated?
// If so, then go ahead and close the wizard down now.
if (pWAP->close_when_completed) {
Expand Down

0 comments on commit bb4837a

Please sign in to comment.