Fix layout issue with too-short textctrl.

Fixes: lp:1788506
* https://bugs.launchpad.net/kicad/+bug/1788506
This commit is contained in:
Jeff Young 2018-08-23 00:36:54 +01:00
parent 30bb911154
commit da172a1089
2 changed files with 4 additions and 4 deletions

View File

@ -54,7 +54,7 @@ DIALOG_EXCHANGE_FOOTPRINTS_BASE::DIALOG_EXCHANGE_FOOTPRINTS_BASE( wxWindow* pare
bSizer4 = new wxBoxSizer( wxHORIZONTAL );
m_specifiedID = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PROCESS_ENTER );
m_specifiedID->SetMinSize( wxSize( 500,22 ) );
m_specifiedID->SetMinSize( wxSize( 500,-1 ) );
bSizer4->Add( m_specifiedID, 1, wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
@ -81,7 +81,7 @@ DIALOG_EXCHANGE_FOOTPRINTS_BASE::DIALOG_EXCHANGE_FOOTPRINTS_BASE( wxWindow* pare
bSizer3 = new wxBoxSizer( wxHORIZONTAL );
m_newID = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
m_newID->SetMinSize( wxSize( 500,22 ) );
m_newID->SetMinSize( wxSize( 500,-1 ) );
bSizer3->Add( m_newID, 1, wxALIGN_CENTER_VERTICAL, 5 );

View File

@ -891,7 +891,7 @@
<property name="maxlength"></property>
<property name="min_size"></property>
<property name="minimize_button">0</property>
<property name="minimum_size">500,22</property>
<property name="minimum_size">500,-1</property>
<property name="moveable">1</property>
<property name="name">m_specifiedID</property>
<property name="pane_border">1</property>
@ -1259,7 +1259,7 @@
<property name="maxlength"></property>
<property name="min_size"></property>
<property name="minimize_button">0</property>
<property name="minimum_size">500,22</property>
<property name="minimum_size">500,-1</property>
<property name="moveable">1</property>
<property name="name">m_newID</property>
<property name="pane_border">1</property>