diff --git a/pcbnew/dialogs/dialog_footprint_wizard_list_base.cpp b/pcbnew/dialogs/dialog_footprint_wizard_list_base.cpp index 48b2c5d173..80eb1269f5 100644 --- a/pcbnew/dialogs/dialog_footprint_wizard_list_base.cpp +++ b/pcbnew/dialogs/dialog_footprint_wizard_list_base.cpp @@ -1,8 +1,8 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Aug 4 2017) +// C++ code generated with wxFormBuilder (version Dec 30 2017) // http://www.wxformbuilder.org/ // -// PLEASE DO "NOT" EDIT THIS FILE! +// PLEASE DO *NOT* EDIT THIS FILE! /////////////////////////////////////////////////////////////////////////// #include "dialog_footprint_wizard_list_base.h" @@ -47,7 +47,7 @@ DIALOG_FOOTPRINT_WIZARD_LIST_BASE::DIALOG_FOOTPRINT_WIZARD_LIST_BASE( wxWindow* // Rows m_footprintGeneratorsGrid->AutoSizeRows(); m_footprintGeneratorsGrid->EnableDragRowSize( true ); - m_footprintGeneratorsGrid->SetRowLabelSize( 1 ); + m_footprintGeneratorsGrid->SetRowLabelSize( 0 ); m_footprintGeneratorsGrid->SetRowLabelAlignment( wxALIGN_CENTRE, wxALIGN_CENTRE ); // Label Appearance @@ -95,14 +95,11 @@ DIALOG_FOOTPRINT_WIZARD_LIST_BASE::DIALOG_FOOTPRINT_WIZARD_LIST_BASE( wxWindow* wxBoxSizer* bSizerLower; bSizerLower = new wxBoxSizer( wxHORIZONTAL ); - - bSizerLower->Add( 0, 0, 1, wxEXPAND, 5 ); - m_buttonUpdateModules = new wxButton( this, wxID_ANY, _("Update Python Modules"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizerLower->Add( m_buttonUpdateModules, 0, wxALL, 5 ); + bSizerLower->Add( m_buttonUpdateModules, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - bSizerLower->Add( 0, 0, 0, wxRIGHT|wxLEFT, 5 ); + bSizerLower->Add( 0, 0, 1, wxRIGHT|wxLEFT, 5 ); m_sdbSizer = new wxStdDialogButtonSizer(); m_sdbSizerOK = new wxButton( this, wxID_OK ); @@ -114,7 +111,7 @@ DIALOG_FOOTPRINT_WIZARD_LIST_BASE::DIALOG_FOOTPRINT_WIZARD_LIST_BASE( wxWindow* bSizerLower->Add( m_sdbSizer, 0, wxALL|wxALIGN_RIGHT, 5 ); - bSizerMain->Add( bSizerLower, 0, wxEXPAND, 5 ); + bSizerMain->Add( bSizerLower, 0, wxEXPAND|wxLEFT, 10 ); this->SetSizer( bSizerMain ); diff --git a/pcbnew/dialogs/dialog_footprint_wizard_list_base.fbp b/pcbnew/dialogs/dialog_footprint_wizard_list_base.fbp index 02e017c3b8..53993e82d6 100644 --- a/pcbnew/dialogs/dialog_footprint_wizard_list_base.fbp +++ b/pcbnew/dialogs/dialog_footprint_wizard_list_base.fbp @@ -331,7 +331,7 @@ Resizable wxALIGN_CENTRE - 1 + 0 wxALIGN_CENTRE @@ -929,8 +929,8 @@ - 5 - wxEXPAND + 10 + wxEXPAND|wxLEFT 0 @@ -939,17 +939,7 @@ none 5 - wxEXPAND - 1 - - 0 - protected - 0 - - - - 5 - wxALL + wxALIGN_CENTER_VERTICAL|wxALL 0 1 @@ -1038,7 +1028,7 @@ 5 wxRIGHT|wxLEFT - 0 + 1 0 protected diff --git a/pcbnew/dialogs/dialog_footprint_wizard_list_base.h b/pcbnew/dialogs/dialog_footprint_wizard_list_base.h index 0fb3c676d2..8e76b92d2a 100644 --- a/pcbnew/dialogs/dialog_footprint_wizard_list_base.h +++ b/pcbnew/dialogs/dialog_footprint_wizard_list_base.h @@ -1,8 +1,8 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Aug 4 2017) +// C++ code generated with wxFormBuilder (version Dec 30 2017) // http://www.wxformbuilder.org/ // -// PLEASE DO "NOT" EDIT THIS FILE! +// PLEASE DO *NOT* EDIT THIS FILE! /////////////////////////////////////////////////////////////////////////// #ifndef __DIALOG_FOOTPRINT_WIZARD_LIST_BASE_H__ @@ -11,8 +11,6 @@ #include #include #include -class DIALOG_SHIM; - #include "dialog_shim.h" #include #include