From 49938cfd093f3eb3af750cb51e525ce8cbbe4369 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Mon, 13 Feb 2023 12:10:56 +0000 Subject: [PATCH] Fix layout issue in IBIS fields. --- eeschema/dialogs/dialog_sim_model_base.cpp | 4 ++-- eeschema/dialogs/dialog_sim_model_base.fbp | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/eeschema/dialogs/dialog_sim_model_base.cpp b/eeschema/dialogs/dialog_sim_model_base.cpp index 7035518b17..15a6c5f941 100644 --- a/eeschema/dialogs/dialog_sim_model_base.cpp +++ b/eeschema/dialogs/dialog_sim_model_base.cpp @@ -72,7 +72,7 @@ DIALOG_SIM_MODEL_BASE::DIALOG_SIM_MODEL_BASE( wxWindow* parent, wxWindowID id, c m_ibisPinCombobox = new wxComboBox( m_modelPanel, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, wxTE_PROCESS_ENTER ); m_ibisPinCombobox->Hide(); - gbSizer1->Add( m_ibisPinCombobox, wxGBPosition( 2, 1 ), wxGBSpan( 1, 1 ), wxEXPAND, 5 ); + gbSizer1->Add( m_ibisPinCombobox, wxGBPosition( 2, 1 ), wxGBSpan( 1, 1 ), wxEXPAND|wxTOP|wxBOTTOM, 2 ); m_differentialCheckbox = new wxCheckBox( m_modelPanel, wxID_ANY, _("Differential"), wxDefaultPosition, wxDefaultSize, 0 ); m_differentialCheckbox->Hide(); @@ -88,7 +88,7 @@ DIALOG_SIM_MODEL_BASE::DIALOG_SIM_MODEL_BASE( wxWindow* parent, wxWindowID id, c m_ibisModelCombobox = new wxComboBox( m_modelPanel, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, wxTE_PROCESS_ENTER ); m_ibisModelCombobox->Hide(); - gbSizer1->Add( m_ibisModelCombobox, wxGBPosition( 3, 1 ), wxGBSpan( 1, 1 ), wxEXPAND, 5 ); + gbSizer1->Add( m_ibisModelCombobox, wxGBPosition( 3, 1 ), wxGBSpan( 1, 1 ), wxEXPAND|wxALIGN_CENTER_VERTICAL|wxTOP|wxBOTTOM, 1 ); gbSizer1->AddGrowableCol( 1 ); diff --git a/eeschema/dialogs/dialog_sim_model_base.fbp b/eeschema/dialogs/dialog_sim_model_base.fbp index b81b9b0bf3..064cd6f990 100644 --- a/eeschema/dialogs/dialog_sim_model_base.fbp +++ b/eeschema/dialogs/dialog_sim_model_base.fbp @@ -699,10 +699,10 @@ - 5 + 2 1 1 - wxEXPAND + wxEXPAND|wxTOP|wxBOTTOM 2 1 @@ -905,10 +905,10 @@ - 5 + 1 1 1 - wxEXPAND + wxEXPAND|wxALIGN_CENTER_VERTICAL|wxTOP|wxBOTTOM 3 1