Commit 1d683046 authored by dickelbeck's avatar dickelbeck

layer combobox width change

parent 100c2ec5
......@@ -618,8 +618,19 @@ WinEDAChoiceBox* WinEDA_PcbFrame::ReCreateLayerBox( WinEDA_Toolbar* parent )
{
if( parent == NULL )
return NULL;
m_SelLayerBox = new WinEDAChoiceBox( parent, ID_TOOLBARH_PCB_SELECT_LAYER,
wxPoint( -1, -1 ), wxSize( -1, -1 ) );
wxPoint( -1, -1 ),
#if defined(__UNIX__)
// Width enough for the longest string: "Component (Page Down)"
// Maybe that string is too long?
wxSize( 230, -1 )
#else
wxSize( LISTBOX_WIDTH+40, -1 )
#endif
);
parent->AddControl( m_SelLayerBox );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment