minor bug dialog edit multiline text

This commit is contained in:
faa 2010-03-30 04:29:51 +00:00
parent 699863f8d8
commit 686358d66f
1 changed files with 2 additions and 1 deletions

View File

@ -65,7 +65,8 @@ void DialogLabelEditor::InitDialog()
wxDefaultSize, wxTE_MULTILINE | wxTE_PROCESS_ENTER );
m_textLabel->SetToolTip( _("Enter the text to be used within the schematic") );
m_textLabel->SetMinSize( wxSize( -1, 60 ) );
m_textControlSizer->wxSizer::Insert( 1, m_textLabel, 0, wxLEFT | wxEXPAND, 3 );
m_textControlSizer->Insert( 1, m_textLabel, 0, wxLEFT | wxEXPAND, 3 );
m_textControlSizer->RecalcSizes();
multiLine = true;
}