Fix layout issue with too-short textctrl.
Fixes: lp:1788506 * https://bugs.launchpad.net/kicad/+bug/1788506
This commit is contained in:
parent
30bb911154
commit
da172a1089
|
@ -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 );
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue