diff --git a/checkin_notes b/checkin_notes index 3106c09239..a7a7a86a70 100644 --- a/checkin_notes +++ b/checkin_notes @@ -3550,7 +3550,8 @@ David 15 Jun 2011 Charlie 16 Jun 2011 - MGR: Fix project list layout for Mac; ellipse long items by size - instead of by number of characters. + instead of by number of characters. Set tooltips of possibly + ellipsed items to full text for that item so user can read it. clientgui/ ProjectInfoPage.cpp, .h diff --git a/clientgui/ProjectInfoPage.cpp b/clientgui/ProjectInfoPage.cpp index 35b14543a0..89544e8b0f 100644 --- a/clientgui/ProjectInfoPage.cpp +++ b/clientgui/ProjectInfoPage.cpp @@ -491,6 +491,8 @@ void CProjectInfoPage::OnProjectSelected( wxCommandEvent& WXUNUSED(event) ) { m_pProjectDetailsDescriptionCtrl->SetValue(pProjectInfo->m_strDescription); m_pProjectDetailsURLCtrl->SetLabel(strURL); m_pProjectDetailsURLCtrl->SetURL(pProjectInfo->m_strURL); + // Set tooltip to full text in case ellipsed + m_pProjectDetailsURLCtrl->SetToolTip(pProjectInfo->m_strURL); m_pProjectDetailsSupportedPlatformWindowsCtrl->Hide(); m_pProjectDetailsSupportedPlatformMacCtrl->Hide(); @@ -515,10 +517,14 @@ void CProjectInfoPage::OnProjectSelected( wxCommandEvent& WXUNUSED(event) ) { wxString strResearchArea = pProjectInfo->m_strSpecificArea; EllipseStringIfNeeded(strResearchArea, m_pProjectDetailsResearchAreaCtrl); m_pProjectDetailsResearchAreaCtrl->SetLabel(strResearchArea); + // Set tooltip to full text in case ellipsed + m_pProjectDetailsResearchAreaCtrl->SetToolTip(pProjectInfo->m_strSpecificArea); wxString strOrganization = pProjectInfo->m_strOrganization; EllipseStringIfNeeded(strOrganization, m_pProjectDetailsOrganizationCtrl); m_pProjectDetailsOrganizationCtrl->SetLabel(strOrganization); + // Set tooltip to full text in case ellipsed + m_pProjectDetailsOrganizationCtrl->SetToolTip(pProjectInfo->m_strOrganization); wxLogTrace(wxT("Function Start/End"), wxT("CProjectInfoPage::OnProjectSelected - Function End")); }