From 79157d6a23a39a27975e869e3088f0bb758809e5 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 4 Oct 2015 15:45:36 +0100 Subject: [PATCH] Updated form designs. --- source/AppXestiaAddrBk.cpp | 8 ++++---- source/AppXestiaAddrBk.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/source/AppXestiaAddrBk.cpp b/source/AppXestiaAddrBk.cpp index 7be4fa4..8ca066c 100644 --- a/source/AppXestiaAddrBk.cpp +++ b/source/AppXestiaAddrBk.cpp @@ -807,6 +807,8 @@ frmNewAccountADT::frmNewAccountADT( wxWindow* parent, wxWindowID id, const wxStr szrNewAccount = new wxBoxSizer( wxVERTICAL ); tabType = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + tabType->Hide(); + wxFlexGridSizer* fgSizer32; fgSizer32 = new wxFlexGridSizer( 0, 1, 0, 0 ); fgSizer32->AddGrowableCol( 0 ); @@ -890,8 +892,6 @@ frmNewAccountADT::frmNewAccountADT( wxWindow* parent, wxWindowID id, const wxStr szrNewAccount->Add( tabType, 1, wxEXPAND | wxALL, 5 ); tabConn = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - tabConn->Hide(); - wxBoxSizer* bSizer323; bSizer323 = new wxBoxSizer( wxVERTICAL ); @@ -7108,13 +7108,13 @@ frmInvalidSSLCertificateADT::~frmInvalidSSLCertificateADT() frmImportContactsADT::frmImportContactsADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) { - this->SetSizeHints( wxDefaultSize, wxDefaultSize ); + this->SetSizeHints( wxSize( 325,400 ), wxSize( 325,400 ) ); wxBoxSizer* bSizer393; bSizer393 = new wxBoxSizer( wxVERTICAL ); lblImportText = new wxStaticText( this, wxID_ANY, wxT("Select the contacts you want to import and the account to import into. Click on Import to finish."), wxDefaultPosition, wxDefaultSize, 0 ); - lblImportText->Wrap( -1 ); + lblImportText->Wrap( 300 ); bSizer393->Add( lblImportText, 0, wxALL|wxEXPAND, 5 ); wxArrayString lstContactsChoices; diff --git a/source/AppXestiaAddrBk.h b/source/AppXestiaAddrBk.h index d205fba..6e59e88 100644 --- a/source/AppXestiaAddrBk.h +++ b/source/AppXestiaAddrBk.h @@ -1903,7 +1903,7 @@ class frmImportContactsADT : public wxDialog public: - frmImportContactsADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 360,400 ), long style = wxDEFAULT_DIALOG_STYLE ); + frmImportContactsADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 325,400 ), long style = wxDEFAULT_DIALOG_STYLE ); ~frmImportContactsADT(); }; -- 2.39.5