From 0b07f2ba9e7e0a8a8e8d26d779f34e98564e8c38 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Mon, 23 Apr 2018 09:31:53 -0700 Subject: [PATCH] Standardize colon and file/table in footprint lib dialog --- pcbnew/dialogs/dialog_fp_lib_table_base.cpp | 14 +++++++------- pcbnew/dialogs/dialog_fp_lib_table_base.fbp | 17 +++++++++-------- pcbnew/dialogs/dialog_fp_lib_table_base.h | 2 +- 3 files changed, 17 insertions(+), 16 deletions(-) diff --git a/pcbnew/dialogs/dialog_fp_lib_table_base.cpp b/pcbnew/dialogs/dialog_fp_lib_table_base.cpp index 95486a842a..8f4ff3da1e 100644 --- a/pcbnew/dialogs/dialog_fp_lib_table_base.cpp +++ b/pcbnew/dialogs/dialog_fp_lib_table_base.cpp @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Dec 30 2017) +// C++ code generated with wxFormBuilder (version Apr 19 2018) // http://www.wxformbuilder.org/ // // PLEASE DO *NOT* EDIT THIS FILE! @@ -71,7 +71,7 @@ DIALOG_FP_LIB_TABLE_BASE::DIALOG_FP_LIB_TABLE_BASE( wxWindow* parent, wxWindowID m_global_panel->SetSizer( m_global_sizer ); m_global_panel->Layout(); m_global_sizer->Fit( m_global_panel ); - m_auinotebook->AddPage( m_global_panel, _("Global Libraries"), true, wxNullBitmap ); + m_auinotebook->AddPage( m_global_panel, _("Global Libraries"), false, wxNullBitmap ); m_project_panel = new wxPanel( m_auinotebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); wxBoxSizer* m_project_sizer; m_project_sizer = new wxBoxSizer( wxVERTICAL ); @@ -81,13 +81,13 @@ DIALOG_FP_LIB_TABLE_BASE::DIALOG_FP_LIB_TABLE_BASE( wxWindow* parent, wxWindowID fgSizer2->SetFlexibleDirection( wxBOTH ); fgSizer2->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - m_staticText4 = new wxStaticText( m_project_panel, wxID_ANY, _("Table:"), wxDefaultPosition, wxDefaultSize, 0 ); + m_staticText4 = new wxStaticText( m_project_panel, wxID_ANY, _("File:"), wxDefaultPosition, wxDefaultSize, 0 ); m_staticText4->Wrap( -1 ); - fgSizer2->Add( m_staticText4, 0, wxRIGHT|wxLEFT, 5 ); + fgSizer2->Add( m_staticText4, 0, wxLEFT|wxRIGHT|wxTOP, 4 ); m_PrjTableFilename = new wxStaticText( m_project_panel, wxID_ANY, _("Table Name"), wxDefaultPosition, wxDefaultSize, 0 ); m_PrjTableFilename->Wrap( -1 ); - fgSizer2->Add( m_PrjTableFilename, 0, wxRIGHT|wxLEFT, 5 ); + fgSizer2->Add( m_PrjTableFilename, 0, wxLEFT|wxRIGHT|wxTOP, 4 ); m_project_sizer->Add( fgSizer2, 0, wxEXPAND, 5 ); @@ -123,7 +123,7 @@ DIALOG_FP_LIB_TABLE_BASE::DIALOG_FP_LIB_TABLE_BASE( wxWindow* parent, wxWindowID m_project_panel->SetSizer( m_project_sizer ); m_project_panel->Layout(); m_project_sizer->Fit( m_project_panel ); - m_auinotebook->AddPage( m_project_panel, _("Project Specific Libraries"), false, wxNullBitmap ); + m_auinotebook->AddPage( m_project_panel, _("Project Specific Libraries"), true, wxNullBitmap ); m_top_sizer->Add( m_auinotebook, 6, wxEXPAND | wxALL, 5 ); @@ -165,7 +165,7 @@ DIALOG_FP_LIB_TABLE_BASE::DIALOG_FP_LIB_TABLE_BASE( wxWindow* parent, wxWindowID bSizer1->Add( m_top_sizer, 1, wxALL|wxEXPAND, 5 ); wxStaticBoxSizer* sbSizer1; - sbSizer1 = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Path Substitutions") ), wxVERTICAL ); + sbSizer1 = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Path Substitutions:") ), wxVERTICAL ); m_path_subs_grid = new wxGrid( sbSizer1->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); diff --git a/pcbnew/dialogs/dialog_fp_lib_table_base.fbp b/pcbnew/dialogs/dialog_fp_lib_table_base.fbp index 13e6b0fadc..f37337eb15 100644 --- a/pcbnew/dialogs/dialog_fp_lib_table_base.fbp +++ b/pcbnew/dialogs/dialog_fp_lib_table_base.fbp @@ -14,6 +14,7 @@ dialog_fp_lib_table_base 1000 none + 1 MyProject1 @@ -199,7 +200,7 @@ Global Libraries - 1 + 0 1 1 @@ -612,7 +613,7 @@ Project Specific Libraries - 0 + 1 1 1 @@ -709,8 +710,8 @@ 1 0 - 5 - wxRIGHT|wxLEFT + 4 + wxLEFT|wxRIGHT|wxTOP 0 1 @@ -740,7 +741,7 @@ 0 0 wxID_ANY - Table: + File: 0 @@ -792,8 +793,8 @@ - 5 - wxRIGHT|wxLEFT + 4 + wxLEFT|wxRIGHT|wxTOP 0 1 @@ -1571,7 +1572,7 @@ 0 wxID_ANY - Path Substitutions + Path Substitutions: sbSizer1 wxVERTICAL diff --git a/pcbnew/dialogs/dialog_fp_lib_table_base.h b/pcbnew/dialogs/dialog_fp_lib_table_base.h index bcd8c611b0..9465da7b7f 100644 --- a/pcbnew/dialogs/dialog_fp_lib_table_base.h +++ b/pcbnew/dialogs/dialog_fp_lib_table_base.h @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Dec 30 2017) +// C++ code generated with wxFormBuilder (version Apr 19 2018) // http://www.wxformbuilder.org/ // // PLEASE DO *NOT* EDIT THIS FILE!