Make GUI DPI-aware

This commit is contained in:
2018-09-17 11:43:19 +02:00
parent c7f1a66a4a
commit 10297c7ab3
24 changed files with 236 additions and 228 deletions

View File

@@ -320,10 +320,10 @@ wxTLSConfigPanel::wxTLSConfigPanel(const eap::config_provider &prov, eap::config
sb_content = new wxBoxSizer( wxVERTICAL );
m_server_trust = new wxTLSServerTrustPanel(prov, cfg, this);
sb_content->Add(m_server_trust, 0, wxDOWN|wxEXPAND, 5);
sb_content->Add(m_server_trust, 0, wxDOWN|wxEXPAND, FromDIP(5));
m_credentials = new wxTLSCredentialsConfigPanel(prov, cfg, this, _("User Certificate"));
sb_content->Add(m_credentials, 0, wxUP|wxEXPAND, 5);
sb_content->Add(m_credentials, 0, wxUP|wxEXPAND, FromDIP(5));
this->SetSizer(sb_content);
this->Layout();