Force minimum height for Add Device input dialog properties

This commit is contained in:
Charles J. Cliffe 2016-02-07 16:12:22 -05:00
parent ea718f926e
commit 7fb7089bfd
2 changed files with 6 additions and 4 deletions

View File

@ -370,7 +370,7 @@
<object class="sizeritem" expanded="1">
<property name="border">8</property>
<property name="flag">wxALL|wxEXPAND</property>
<property name="proportion">0</property>
<property name="proportion">1</property>
<object class="wxTextCtrl" expanded="1">
<property name="BottomDockable">1</property>
<property name="LeftDockable">1</property>
@ -403,9 +403,9 @@
<property name="maximize_button">0</property>
<property name="maximum_size"></property>
<property name="maxlength"></property>
<property name="min_size"></property>
<property name="min_size">-1,-1</property>
<property name="minimize_button">0</property>
<property name="minimum_size"></property>
<property name="minimum_size">-1,48</property>
<property name="moveable">1</property>
<property name="name">m_paramText</property>
<property name="pane_border">1</property>

View File

@ -36,7 +36,9 @@ SDRDeviceAddForm::SDRDeviceAddForm( wxWindow* parent, wxWindowID id, const wxStr
bSizer6->Add( m_paramLabel, 0, wxALL, 8 );
m_paramText = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_DONTWRAP|wxHSCROLL );
bSizer6->Add( m_paramText, 0, wxALL|wxEXPAND, 8 );
m_paramText->SetMinSize( wxSize( -1,48 ) );
bSizer6->Add( m_paramText, 1, wxALL|wxEXPAND, 8 );
bSizer6->Add( 0, 0, 1, wxEXPAND, 5 );