From 42f1b9e415c536c888be255353055f2c988afd6d Mon Sep 17 00:00:00 2001 From: henner zeller Date: Mon, 14 May 2012 17:23:20 +0200 Subject: [PATCH] commit patch from henner zeller (make EDA_LIST_DIALOG resizable) --- common/displlst.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/displlst.cpp b/common/displlst.cpp index f90f8a08a4..531de2a65b 100644 --- a/common/displlst.cpp +++ b/common/displlst.cpp @@ -44,7 +44,7 @@ EDA_LIST_DIALOG::EDA_LIST_DIALOG( EDA_DRAW_FRAME* aParent, const wxString& aTitl wxSize( 300, 200 ), 0, NULL, 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 ); @@ -54,7 +54,7 @@ EDA_LIST_DIALOG::EDA_LIST_DIALOG( EDA_DRAW_FRAME* aParent, const wxString& aTitl wxDefaultPosition, wxSize( -1, 60 ), 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 );