From 9e6c56525afe62a3dfb2d176ddbb020eb081037d Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Sun, 4 Jun 2023 17:24:07 +0200 Subject: [PATCH] EEschema, DIALOG_SYMBOL_FIELDS_TABLE: minor cosmetic fix Fixes #14868 https://gitlab.com/kicad/code/kicad/-/issues/14868 --- .../dialog_symbol_fields_table_base.cpp | 10 ++-- .../dialog_symbol_fields_table_base.fbp | 51 +++++++++++++++++-- .../dialogs/dialog_symbol_fields_table_base.h | 2 +- 3 files changed, 53 insertions(+), 10 deletions(-) diff --git a/eeschema/dialogs/dialog_symbol_fields_table_base.cpp b/eeschema/dialogs/dialog_symbol_fields_table_base.cpp index 5cbcda579a..e371518309 100644 --- a/eeschema/dialogs/dialog_symbol_fields_table_base.cpp +++ b/eeschema/dialogs/dialog_symbol_fields_table_base.cpp @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b3) +// C++ code generated with wxFormBuilder (version 3.10.1-282-g1fa54006) // http://www.wxformbuilder.org/ // // PLEASE DO *NOT* EDIT THIS FILE! @@ -90,15 +90,15 @@ DIALOG_SYMBOL_FIELDS_TABLE_BASE::DIALOG_SYMBOL_FIELDS_TABLE_BASE( wxWindow* pare m_separator1 = new BITMAP_BUTTON( m_rightPanel, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 21,21 ), wxBU_AUTODRAW|wxBORDER_NONE ); m_separator1->Enable( false ); - bControls->Add( m_separator1, 0, wxALL, 5 ); + bControls->Add( m_separator1, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 ); m_checkExcludeDNP = new wxCheckBox( m_rightPanel, wxID_ANY, _("Exclude DNP"), wxDefaultPosition, wxDefaultSize, 0 ); - bControls->Add( m_checkExcludeDNP, 0, wxALL, 5 ); + bControls->Add( m_checkExcludeDNP, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 ); m_separator2 = new BITMAP_BUTTON( m_rightPanel, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 21,21 ), wxBU_AUTODRAW|wxBORDER_NONE ); m_separator2->Enable( false ); - bControls->Add( m_separator2, 0, wxALL, 5 ); + bControls->Add( m_separator2, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 ); m_groupSymbolsBox = new wxCheckBox( m_rightPanel, OPT_GROUP_COMPONENTS, _("Group symbols"), wxDefaultPosition, wxDefaultSize, 0 ); m_groupSymbolsBox->SetValue(true); @@ -109,7 +109,7 @@ DIALOG_SYMBOL_FIELDS_TABLE_BASE::DIALOG_SYMBOL_FIELDS_TABLE_BASE( wxWindow* pare m_separator3 = new BITMAP_BUTTON( m_rightPanel, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 21,21 ), wxBU_AUTODRAW|wxBORDER_NONE ); m_separator3->Enable( false ); - bControls->Add( m_separator3, 0, wxALL, 5 ); + bControls->Add( m_separator3, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 ); m_bRefresh = new wxBitmapButton( m_rightPanel, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 ); m_bRefresh->SetMinSize( wxSize( 30,30 ) ); diff --git a/eeschema/dialogs/dialog_symbol_fields_table_base.fbp b/eeschema/dialogs/dialog_symbol_fields_table_base.fbp index db7479d81c..82a569a244 100644 --- a/eeschema/dialogs/dialog_symbol_fields_table_base.fbp +++ b/eeschema/dialogs/dialog_symbol_fields_table_base.fbp @@ -36,6 +36,7 @@ wxBOTH 1 + 0 1 impl_virtual @@ -88,6 +89,7 @@ Dock 0 Left + 0 1 1 @@ -145,6 +147,7 @@ Dock 0 Left + 0 1 1 @@ -205,6 +208,7 @@ Dock 0 Left + 0 1 1 @@ -263,6 +267,7 @@ Dock 0 Left + 0 1 1 @@ -332,6 +337,7 @@ Dock 0 Left + 0 1 1 @@ -394,6 +400,7 @@ Dock 0 Left + 0 1 1 @@ -442,6 +449,7 @@ 1 + 0 1 @@ -503,6 +511,7 @@ Dock 0 Left + 0 1 1 @@ -577,6 +586,7 @@ Dock 0 Left + 0 1 1 @@ -651,6 +661,7 @@ Dock 0 Left + 0 1 1 @@ -722,6 +733,7 @@ Dock 0 Left + 0 1 1 @@ -792,6 +804,7 @@ Dock 0 Left + 0 1 1 @@ -835,7 +848,7 @@ 5 - wxALL + wxALL|wxALIGN_CENTER_VERTICAL 0 1 @@ -863,6 +876,7 @@ Dock 0 Left + 0 0 1 @@ -908,7 +922,7 @@ 5 - wxALL + wxALL|wxALIGN_CENTER_VERTICAL 0 1 @@ -932,6 +946,7 @@ Dock 0 Left + 0 1 1 @@ -973,7 +988,7 @@ 5 - wxALL + wxALL|wxALIGN_CENTER_VERTICAL 0 1 @@ -1001,6 +1016,7 @@ Dock 0 Left + 0 0 1 @@ -1070,6 +1086,7 @@ Dock 0 Left + 0 1 1 @@ -1111,7 +1128,7 @@ 5 - wxALL + wxALL|wxALIGN_CENTER_VERTICAL 0 1 @@ -1139,6 +1156,7 @@ Dock 0 Left + 0 0 1 @@ -1212,6 +1230,7 @@ Dock 0 Left + 0 1 1 @@ -1296,6 +1315,7 @@ Dock 0 Left + 0 1 1 0 @@ -1384,6 +1404,7 @@ Dock 0 Left + 0 1 1 @@ -1469,6 +1490,7 @@ Dock 0 Left + 0 1 1 @@ -1531,6 +1553,7 @@ Dock 0 Left + 0 1 1 @@ -1594,6 +1617,7 @@ Dock 0 Left + 0 1 1 @@ -1655,6 +1679,7 @@ Dock 0 Left + 0 1 1 @@ -1720,6 +1745,7 @@ Dock 0 Left + 0 1 1 @@ -1781,6 +1807,7 @@ Dock 0 Left + 0 1 1 @@ -1846,6 +1873,7 @@ Dock 0 Left + 0 1 1 @@ -1907,6 +1935,7 @@ Dock 0 Left + 0 1 1 @@ -1972,6 +2001,7 @@ Dock 0 Left + 0 1 1 @@ -2033,6 +2063,7 @@ Dock 0 Left + 0 1 1 @@ -2098,6 +2129,7 @@ Dock 0 Left + 0 1 1 @@ -2160,6 +2192,7 @@ Dock 0 Left + 0 1 1 @@ -2224,6 +2257,7 @@ Dock 0 Left + 0 1 1 @@ -2286,6 +2320,7 @@ Dock 0 Left + 0 1 1 @@ -2364,6 +2399,7 @@ Dock 0 Left + 0 1 1 @@ -2425,6 +2461,7 @@ Dock 0 Left + 0 1 1 @@ -2494,6 +2531,7 @@ Dock 0 Left + 0 1 1 @@ -2577,6 +2615,7 @@ Dock 0 Left + 0 1 1 @@ -2653,6 +2692,7 @@ Dock 0 Left + 0 1 1 @@ -2727,6 +2767,7 @@ Dock 0 Left + 0 1 1 @@ -2820,6 +2861,7 @@ Dock 0 Left + 0 1 1 @@ -2894,6 +2936,7 @@ Dock 0 Left + 0 1 1 diff --git a/eeschema/dialogs/dialog_symbol_fields_table_base.h b/eeschema/dialogs/dialog_symbol_fields_table_base.h index 96d8f5a7b2..b29f41bbe1 100644 --- a/eeschema/dialogs/dialog_symbol_fields_table_base.h +++ b/eeschema/dialogs/dialog_symbol_fields_table_base.h @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b3) +// C++ code generated with wxFormBuilder (version 3.10.1-282-g1fa54006) // http://www.wxformbuilder.org/ // // PLEASE DO *NOT* EDIT THIS FILE!