mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Give EDA_LIST_DIALOG a larger size for longer lists.
This commit is contained in:
parent
b6d03255f0
commit
fdb460441f
@ -47,6 +47,12 @@ EDA_LIST_DIALOG::EDA_LIST_DIALOG( wxWindow* aParent, const wxString& aTitle,
|
||||
|
||||
initDialog( aItemHeaders, aItemList, aPreselectText );
|
||||
|
||||
if( aItemList.size() > 16 )
|
||||
{
|
||||
m_listBox->SetMinSize( wxSize( m_listBox->GetMinWidth(),
|
||||
KiROUND( m_listBox->GetMinHeight() * 1.66 ) ) );
|
||||
}
|
||||
|
||||
// DIALOG_SHIM needs a unique hash_key because classname is not sufficient
|
||||
// because so many dialogs share this same class, with different numbers of
|
||||
// columns, different column names, and column widths.
|
||||
|
Loading…
x
Reference in New Issue
Block a user