MGR: work around a problem sizing the URL TextEdit field in the Attach Wizard Project Info page when a larger default font size is selected on Windows.

I don’t understand why this “fixes” it and I suspect there is a better solution.
This commit is contained in:
Charlie Fenton 2013-12-04 02:43:17 -08:00
parent be6b6e7648
commit 05ec1e04a6
1 changed files with 2 additions and 4 deletions

View File

@ -342,11 +342,9 @@ void CProjectInfoPage::CreateControls()
itemFlexGridSizer33->Add(m_pProjectURLStaticCtrl, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
m_pProjectURLCtrl = new wxTextCtrl( itemWizardPage23, ID_PROJECTURLCTRL, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
itemFlexGridSizer33->Add(m_pProjectURLCtrl, 1, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5);
itemFlexGridSizer33->Add(m_pProjectURLCtrl, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5);
#ifdef __WXMAC__
itemFlexGridSizer33->Add(0, 20, 0);
#endif
itemFlexGridSizer33->Add(0, 10, 0);
// Set validators
m_pProjectURLCtrl->SetValidator( CValidateURL( & m_strProjectURL ) );