diff --git a/lib/TLS_UI/res/wxTLS_UI.cpp b/lib/TLS_UI/res/wxTLS_UI.cpp
index 2c7c0f1..458f3c9 100644
--- a/lib/TLS_UI/res/wxTLS_UI.cpp
+++ b/lib/TLS_UI/res/wxTLS_UI.cpp
@@ -128,38 +128,16 @@ wxEAPCredentialsPromptTLSPanelBase::wxEAPCredentialsPromptTLSPanelBase( wxWindow
wxBoxSizer* sb_credentials_vert;
sb_credentials_vert = new wxBoxSizer( wxVERTICAL );
- m_credentials_label = new wxStaticText( sb_credentials->GetStaticBox(), wxID_ANY, _("Please select your client certificate to use for authentication."), wxDefaultPosition, wxDefaultSize, 0 );
- m_credentials_label->Wrap( 440 );
- sb_credentials_vert->Add( m_credentials_label, 0, wxALL|wxEXPAND, 5 );
+ m_certificate_label = new wxStaticText( sb_credentials->GetStaticBox(), wxID_ANY, _("Please select your client &certificate to use for authentication."), wxDefaultPosition, wxDefaultSize, 0 );
+ m_certificate_label->Wrap( 440 );
+ sb_credentials_vert->Add( m_certificate_label, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
- wxBoxSizer* sb_cert_radio;
- sb_cert_radio = new wxBoxSizer( wxVERTICAL );
+ wxArrayString m_certificateChoices;
+ m_certificate = new wxChoice( sb_credentials->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, m_certificateChoices, wxCB_SORT );
+ m_certificate->SetSelection( 0 );
+ m_certificate->SetToolTip( _("Client certificate to use for authentication") );
- m_cert_none = new wxRadioButton( sb_credentials->GetStaticBox(), wxID_ANY, _("Co&nnect without providing a client certificate"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP );
- m_cert_none->SetToolTip( _("Select if your server does not require you to provide a client certificate") );
-
- sb_cert_radio->Add( m_cert_none, 1, wxEXPAND, 5 );
-
- wxBoxSizer* sb_cert_select;
- sb_cert_select = new wxBoxSizer( wxHORIZONTAL );
-
- m_cert_select = new wxRadioButton( sb_credentials->GetStaticBox(), wxID_ANY, _("Use the following &certificate:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_cert_select->SetToolTip( _("Select if you need to provide a client certificate when connecting") );
-
- sb_cert_select->Add( m_cert_select, 0, wxEXPAND, 5 );
-
- wxArrayString m_cert_select_valChoices;
- m_cert_select_val = new wxChoice( sb_credentials->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, m_cert_select_valChoices, wxCB_SORT );
- m_cert_select_val->SetSelection( 0 );
- m_cert_select_val->SetToolTip( _("Client certificate to use for authentication") );
-
- sb_cert_select->Add( m_cert_select_val, 1, wxEXPAND, 5 );
-
-
- sb_cert_radio->Add( sb_cert_select, 1, wxEXPAND, 5 );
-
-
- sb_credentials_vert->Add( sb_cert_radio, 0, wxEXPAND|wxALL, 5 );
+ sb_credentials_vert->Add( m_certificate, 0, wxEXPAND|wxALL, 5 );
wxBoxSizer* sb_identity;
sb_identity = new wxBoxSizer( wxVERTICAL );
@@ -178,7 +156,7 @@ wxEAPCredentialsPromptTLSPanelBase::wxEAPCredentialsPromptTLSPanelBase( wxWindow
sb_identity->Add( m_identity_note, 0, wxALIGN_RIGHT, 5 );
- sb_credentials_vert->Add( sb_identity, 1, wxEXPAND|wxALL, 5 );
+ sb_credentials_vert->Add( sb_identity, 0, wxEXPAND|wxALL, 5 );
m_remember = new wxCheckBox( sb_credentials->GetStaticBox(), wxID_ANY, _("&Remember"), wxDefaultPosition, wxDefaultSize, 0 );
m_remember->SetHelpText( _("Check if you would like to save certificate selection") );
diff --git a/lib/TLS_UI/res/wxTLS_UI.fbp b/lib/TLS_UI/res/wxTLS_UI.fbp
index 3f845b0..2a6a06b 100644
--- a/lib/TLS_UI/res/wxTLS_UI.fbp
+++ b/lib/TLS_UI/res/wxTLS_UI.fbp
@@ -1160,7 +1160,7 @@
none