From f883b7fd4d6838dd044d3e2989b3efee6f8792b7 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Mon, 8 May 2023 10:57:33 +0100 Subject: [PATCH] Fix layout inconsistencies in Gen Footprint Pos file dialog. --- .../dialog_gen_footprint_position_file_base.cpp | 6 +++--- .../dialog_gen_footprint_position_file_base.fbp | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pcbnew/dialogs/dialog_gen_footprint_position_file_base.cpp b/pcbnew/dialogs/dialog_gen_footprint_position_file_base.cpp index 6655233643..f00d92f520 100644 --- a/pcbnew/dialogs/dialog_gen_footprint_position_file_base.cpp +++ b/pcbnew/dialogs/dialog_gen_footprint_position_file_base.cpp @@ -73,7 +73,7 @@ DIALOG_GEN_FOOTPRINT_POSITION_BASE::DIALOG_GEN_FOOTPRINT_POSITION_BASE( wxWindow bSizerLower = new wxBoxSizer( wxVERTICAL ); m_onlySMD = new wxCheckBox( this, wxID_ANY, _("Include only SMD footprints"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizerLower->Add( m_onlySMD, 0, wxALL, 5 ); + bSizerLower->Add( m_onlySMD, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 ); m_excludeTH = new wxCheckBox( this, wxID_ANY, _("Exclude all footprints with through hole pads"), wxDefaultPosition, wxDefaultSize, 0 ); bSizerLower->Add( m_excludeTH, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 ); @@ -90,10 +90,10 @@ DIALOG_GEN_FOOTPRINT_POSITION_BASE::DIALOG_GEN_FOOTPRINT_POSITION_BASE( wxWindow m_messagesPanel = new WX_HTML_REPORT_PANEL( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); m_messagesPanel->SetMinSize( wxSize( 350,300 ) ); - bSizerLower->Add( m_messagesPanel, 1, wxEXPAND | wxALL, 5 ); + bSizerLower->Add( m_messagesPanel, 1, wxEXPAND|wxTOP, 10 ); - m_MainSizer->Add( bSizerLower, 1, wxEXPAND|wxRIGHT|wxLEFT, 5 ); + m_MainSizer->Add( bSizerLower, 1, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 10 ); m_sdbSizer = new wxStdDialogButtonSizer(); m_sdbSizerOK = new wxButton( this, wxID_OK ); diff --git a/pcbnew/dialogs/dialog_gen_footprint_position_file_base.fbp b/pcbnew/dialogs/dialog_gen_footprint_position_file_base.fbp index e70a73afc2..54b2e51978 100644 --- a/pcbnew/dialogs/dialog_gen_footprint_position_file_base.fbp +++ b/pcbnew/dialogs/dialog_gen_footprint_position_file_base.fbp @@ -495,8 +495,8 @@ - 5 - wxEXPAND|wxRIGHT|wxLEFT + 10 + wxEXPAND|wxTOP|wxRIGHT|wxLEFT 1 @@ -505,7 +505,7 @@ none 5 - wxALL + wxBOTTOM|wxRIGHT|wxLEFT 0 1 @@ -828,8 +828,8 @@ - 5 - wxEXPAND | wxALL + 10 + wxEXPAND|wxTOP 1 1