commit patch from henner zeller (make EDA_LIST_DIALOG resizable)

This commit is contained in:
henner zeller 2012-05-14 17:23:20 +02:00 committed by jean-pierre charras
parent 40c5a46f38
commit 42f1b9e415
1 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ EDA_LIST_DIALOG::EDA_LIST_DIALOG( EDA_DRAW_FRAME* aParent, const wxString& aTitl
wxSize( 300, 200 ), 0, NULL, wxSize( 300, 200 ), 0, NULL,
wxLB_NEEDED_SB | wxLB_SINGLE | wxLB_HSCROLL ); wxLB_NEEDED_SB | wxLB_SINGLE | wxLB_HSCROLL );
GeneralBoxSizer->Add( m_listBox, 0, wxGROW | wxALL, 5 ); GeneralBoxSizer->Add( m_listBox, 2, wxGROW | wxALL, 5 );
InsertItems( aItemList, 0 ); InsertItems( aItemList, 0 );
@ -54,7 +54,7 @@ EDA_LIST_DIALOG::EDA_LIST_DIALOG( EDA_DRAW_FRAME* aParent, const wxString& aTitl
wxDefaultPosition, wxSize( -1, 60 ), wxDefaultPosition, wxSize( -1, 60 ),
wxTE_READONLY | wxTE_MULTILINE ); wxTE_READONLY | wxTE_MULTILINE );
GeneralBoxSizer->Add( m_messages, 0, wxGROW | wxALL, 5 ); GeneralBoxSizer->Add( m_messages, 1, wxGROW | wxALL, 5 );
} }
wxSizer* buttonSizer = CreateButtonSizer( wxOK | wxCANCEL ); wxSizer* buttonSizer = CreateButtonSizer( wxOK | wxCANCEL );