diff --git a/src/forms/SDRDevices/SDRDeviceAdd.fbp b/src/forms/SDRDevices/SDRDeviceAdd.fbp index cf01ab2..f5cb574 100644 --- a/src/forms/SDRDevices/SDRDeviceAdd.fbp +++ b/src/forms/SDRDevices/SDRDeviceAdd.fbp @@ -370,7 +370,7 @@ 8 wxALL|wxEXPAND - 0 + 1 1 1 @@ -403,9 +403,9 @@ 0 - + -1,-1 0 - + -1,48 1 m_paramText 1 diff --git a/src/forms/SDRDevices/SDRDeviceAddForm.cpp b/src/forms/SDRDevices/SDRDeviceAddForm.cpp index 6230a9d..09afe15 100644 --- a/src/forms/SDRDevices/SDRDeviceAddForm.cpp +++ b/src/forms/SDRDevices/SDRDeviceAddForm.cpp @@ -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 );