From 056ff36b4bcc08fd185b47bfa8a9dc9eb4eea172 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sun, 29 Nov 2020 00:58:28 +0000 Subject: [PATCH] Fix indentation in migrate settings dialog. --- common/dialogs/dialog_migrate_settings_base.cpp | 5 ++--- common/dialogs/dialog_migrate_settings_base.fbp | 8 ++++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/common/dialogs/dialog_migrate_settings_base.cpp b/common/dialogs/dialog_migrate_settings_base.cpp index 73cda1f328..bf8b18180b 100644 --- a/common/dialogs/dialog_migrate_settings_base.cpp +++ b/common/dialogs/dialog_migrate_settings_base.cpp @@ -47,7 +47,6 @@ DIALOG_MIGRATE_SETTINGS_BASE::DIALOG_MIGRATE_SETTINGS_BASE( wxWindow* parent, wx m_btnCustomPath = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 ); m_btnCustomPath->SetToolTip( wxT("Choose a different path") ); - m_btnCustomPath->SetMinSize( wxSize( 30,29 ) ); bSizer5->Add( m_btnCustomPath, 0, wxALIGN_CENTER_VERTICAL|wxTOP|wxBOTTOM|wxRIGHT, 5 ); @@ -65,10 +64,10 @@ DIALOG_MIGRATE_SETTINGS_BASE::DIALOG_MIGRATE_SETTINGS_BASE( wxWindow* parent, wx m_cbCopyLibraryTables->SetValue(true); m_cbCopyLibraryTables->SetToolTip( wxT("When checked, the symbol and footprint library tables from the previous version will be imported into this version") ); - bSizer6->Add( m_cbCopyLibraryTables, 0, wxALL, 5 ); + bSizer6->Add( m_cbCopyLibraryTables, 0, wxBOTTOM|wxRIGHT|wxLEFT, 23 ); m_btnUseDefaults = new wxRadioButton( this, wxID_ANY, wxT("Start with default settings"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer6->Add( m_btnUseDefaults, 0, wxALL|wxEXPAND, 5 ); + bSizer6->Add( m_btnUseDefaults, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 ); m_sizer->Add( bSizer6, 0, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 10 ); diff --git a/common/dialogs/dialog_migrate_settings_base.fbp b/common/dialogs/dialog_migrate_settings_base.fbp index 9fa4a8ddc6..79a16a94b4 100644 --- a/common/dialogs/dialog_migrate_settings_base.fbp +++ b/common/dialogs/dialog_migrate_settings_base.fbp @@ -396,7 +396,7 @@ 0 - 30,29 + -1,-1 1 m_btnCustomPath 1 @@ -488,8 +488,8 @@ - 5 - wxALL + 23 + wxBOTTOM|wxRIGHT|wxLEFT 0 1 @@ -553,7 +553,7 @@ 5 - wxALL|wxEXPAND + wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT 0 1